mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
added usage for makefile
This commit is contained in:
parent
885ebb9937
commit
4f25c87719
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
|||
CC=cc
|
||||
|
||||
dietlib:
|
||||
default:
|
||||
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
|
||||
|
||||
diet:
|
||||
/opt/diet/bin/diet ${CC} -static -c -Os parser.c -o libpsyc.o -DDEBUG
|
||||
/opt/diet/bin/diet ar rcs libpsyc.a libpsyc.o
|
||||
|
||||
lib:
|
||||
${CC} -static -c -Os parser.c -lc -o libpsyc.o -DDEBUG
|
||||
ar rcs libpsyc.a libpsyc.o
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue