From 7a53273f2d72b47927d9357ac556e6970d8c821f Mon Sep 17 00:00:00 2001 From: Mathias Laurenz Baumann Date: Sat, 18 Sep 2010 18:08:02 +0200 Subject: [PATCH] added usage for makefile --- src/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 19c9ab1..e174d5d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 - - -