diff options
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 |
