1
0
Fork 0
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:
Marenz 2010-09-18 18:08:02 +02:00
parent 885ebb9937
commit 4f25c87719

View file

@ -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