From b7efbaf6789a979f0139d6aefe2b4288ab969647 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Fri, 18 Feb 2011 14:03:45 +0100 Subject: [PATCH] - --- src/Makefile | 1 + src/tests/Makefile | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 src/tests/Makefile diff --git a/src/Makefile b/src/Makefile index e174d5d..238510d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,5 @@ CC=cc +# CC=clang default: @/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc" diff --git a/src/tests/Makefile b/src/tests/Makefile new file mode 100644 index 0000000..554c76e --- /dev/null +++ b/src/tests/Makefile @@ -0,0 +1,8 @@ +CFLAGS=-I.. -DDEBUG +LDFLAGS=-L.. -lpsyc + +works: + cc -I.. -DDEBUG -L.. testParser.c -o testParser -lpsyc + +it: testParser +