added usage for makefile

This commit is contained in:
Marenz 2010-09-18 18:08:02 +02:00
parent 885ebb9937
commit 4f25c87719
1 changed files with 4 additions and 4 deletions

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