https://github.com/cooperative-computing-lab/cctools
Raw File
Tip revision: 7b4fb490703fe51f672c9a104f5f8d731d7e7272 authored by dthain on 09 November 2009, 17:34:34 UTC
Interim release to fix linking problems on Mac
Tip revision: 7b4fb49
Makefile
include Makefile.config
include Makefile.rules

all test clean: Makefile.config
	for p in ${CCTOOLS_PACKAGES} ; do cd $$p && ${MAKE} $@ && cd .. ; done

docs:
	${CCTOOLS_DOXYGEN} doxygen.config

install: all docs Makefile.config
	for p in ${CCTOOLS_PACKAGES} ; do cd $$p && ${MAKE} $@ && cd .. ; done
	if [ -d api ]; then cp -r api ${CCTOOLS_INSTALL_DIR}/doc; fi
	mkdir -p ${CCTOOLS_INSTALL_DIR}/etc
	cp Makefile.config ${CCTOOLS_INSTALL_DIR}/etc/Makefile.config

Makefile.config:
	@echo "You must run 'configure' before '${MAKE}'."
	@exit 1
back to top