1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
libpsyc/Makefile
2011-06-12 20:55:26 +02:00

47 lines
713 B
Makefile

.PHONY: doc test bench
.NOTPARALLEL: clean
all:
${MAKE} -C src
it: all
install: install-lib install-inc install-d
install-lib: all
${MAKE} -C lib install
install-inc: all
${MAKE} -C include install
install-d: all
${MAKE} -C d install
debug:
${MAKE} -C src debug
diet:
${MAKE} -C src diet
debugtest: testdebug test
testdebug: debug
${MAKE} -C test debug
test: all
${MAKE} -C test test nettest
bench: all
${MAKE} -C test bench
doc:
doxygen
clean:
${MAKE} -C src clean
${MAKE} -C lib clean
${MAKE} -C test clean
rm -rf doc/html doc/latex doc/man
help:
@/bin/echo -e "Usage:\n\tmake - compile\n\tmake diet - compile with diet libc\n\tmake test\n\tmake doc\n\tmake install [prefix=/usr]"