diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-13 15:03:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:14 -0700 |
| commit | 90247bd7671b301cd30f43b40cc47e71392a1c04 (patch) | |
| tree | 2ba802b6f4d7a2d033a1e4bb09f77db359144aa5 /Makefile | |
| parent | c3cd6a0a38da3be197e8d4a4ede69eb20cf9ec17 (diff) | |
| download | sparse-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-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |
