From 4f25c87719c5e1246a16773af3b4f99deb9d6b86 Mon Sep 17 00:00:00 2001 From: Marenz 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 - - -