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:
Gabor Adam Toth 2011-04-19 22:52:08 +02:00
parent 59c453d9bc
commit 8e1a107b87
2 changed files with 21 additions and 0 deletions

View file

@ -1,4 +1,22 @@
.PHONY: doc .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: doc:
doxygen 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 $< ${CC} -o $@ -DDEBUG=2 -DCMDTOOL -DTEST $<
it: match it: match
clean:
rm -f $O