aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLinus Torvalds <torvalds@home.transmeta.com>2003-03-13 15:03:49 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:14 -0700
commit90247bd7671b301cd30f43b40cc47e71392a1c04 (patch)
tree2ba802b6f4d7a2d033a1e4bb09f77db359144aa5 /Makefile
parentc3cd6a0a38da3be197e8d4a4ede69eb20cf9ec17 (diff)
downloadsparse-dev-90247bd7671b301cd30f43b40cc47e71392a1c04.tar.gz
Add simple recursive-descent C expression parsing (but we only do the
simple binops so far, type parsing is still way off). Clean up and update tokenization.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6599d016..4b22617b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
CFLAGS=-g -Wall
-test-lexing: test-lexing.o tokenize.o
- gcc -o $@ test-lexing.o tokenize.o
+all: test-lexing test-parsing
+test-lexing: test-lexing.o tokenize.o lib.o
+ gcc -o $@ test-lexing.o tokenize.o lib.o
+
+test-parsing: test-parsing.o parse.o tokenize.o lib.o
+ gcc -o $@ test-parsing.o parse.o tokenize.o lib.o
+
+test-parsing: token.h
test-lexing.o: token.h
tokenize.o: token.h
+parse.o: token.h
clean:
rm -f *.o