2011-05-18 20:08:30 +00:00
|
|
|
.PHONY: doc test bench
|
2011-06-12 18:55:26 +00:00
|
|
|
.NOTPARALLEL: clean
|
2011-04-19 20:52:08 +00:00
|
|
|
|
2011-11-11 21:18:24 +00:00
|
|
|
indent_args = -nbad -bap -bbo -nbc -br -brs -ncdb -cdw -ce -ci4 -cli0 -cs -d0 -di1 \
|
|
|
|
-nfc1 -nfca -hnl -i4 -ip0 -l80 -lp -npcs -nprs -npsl -saf -sai -saw -nsc -nsob -nss
|
|
|
|
|
2011-04-30 14:05:48 +00:00
|
|
|
all:
|
|
|
|
${MAKE} -C src
|
2011-04-19 20:52:08 +00:00
|
|
|
|
2011-05-10 14:54:40 +00:00
|
|
|
it: all
|
|
|
|
|
2011-05-09 00:27:12 +00:00
|
|
|
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
|
|
|
|
|
2011-04-30 14:41:30 +00:00
|
|
|
debug:
|
|
|
|
${MAKE} -C src debug
|
|
|
|
|
2011-04-19 20:52:08 +00:00
|
|
|
diet:
|
2011-04-30 13:42:48 +00:00
|
|
|
${MAKE} -C src diet
|
2011-04-19 20:52:08 +00:00
|
|
|
|
2011-05-08 01:15:06 +00:00
|
|
|
debugtest: testdebug test
|
|
|
|
|
|
|
|
testdebug: debug
|
|
|
|
${MAKE} -C test debug
|
|
|
|
|
|
|
|
test: all
|
2011-05-08 18:17:56 +00:00
|
|
|
${MAKE} -C test test nettest
|
2011-04-19 20:31:43 +00:00
|
|
|
|
2011-05-18 20:00:28 +00:00
|
|
|
bench: all
|
|
|
|
${MAKE} -C test bench
|
|
|
|
|
2011-04-19 20:31:43 +00:00
|
|
|
doc:
|
|
|
|
doxygen
|
2011-04-19 20:52:08 +00:00
|
|
|
|
|
|
|
clean:
|
2011-05-08 02:11:36 +00:00
|
|
|
${MAKE} -C src clean
|
2011-05-10 14:54:40 +00:00
|
|
|
${MAKE} -C lib clean
|
2011-05-08 02:11:36 +00:00
|
|
|
${MAKE} -C test clean
|
2011-04-21 12:20:24 +00:00
|
|
|
rm -rf doc/html doc/latex doc/man
|
2011-04-30 14:05:48 +00:00
|
|
|
|
|
|
|
help:
|
2011-05-09 00:27:12 +00:00
|
|
|
@/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]"
|
2012-01-21 19:02:20 +00:00
|
|
|
|