mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
Makefile improvements
This commit is contained in:
parent
59c453d9bc
commit
8e1a107b87
2 changed files with 21 additions and 0 deletions
18
Makefile
18
Makefile
|
@ -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
|
||||
|
|
|
@ -20,3 +20,6 @@ match: match.c
|
|||
${CC} -o $@ -DDEBUG=2 -DCMDTOOL -DTEST $<
|
||||
|
||||
it: match
|
||||
|
||||
clean:
|
||||
rm -f $O
|
||||
|
|
Loading…
Reference in a new issue