1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

Makefile improvements

This commit is contained in:
tg(x) 2011-04-19 22:52:08 +02:00
parent 15b1c906bf
commit 138a16e7a7
2 changed files with 21 additions and 0 deletions

View file

@ -1,4 +1,22 @@
.PHONY: doc
.PHONY: tests
default:
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc\n\tmake tests\n\tmake doc"
lib:
make -C src lib
diet:
make -C src diet
tests:
make -C tests
doc:
doxygen
clean:
make -C src clean
make -C tests clean
rm -rf doc

View file

@ -20,3 +20,6 @@ match: match.c
${CC} -o $@ -DDEBUG=2 -DCMDTOOL -DTEST $<
it: match
clean:
rm -f $O