blob: e6fee791403bd7ad7d9b596bd0bb1db0a05105f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
CFLAGS=-g -Wall
PROGRAMS=test-lexing test-parsing
all: $(PROGRAMS)
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.o: token.h parse.h
test-lexing.o: token.h
tokenize.o: token.h
parse.o: token.h parse.h
clean:
rm -f *.[oasi] $(PROGRAMS)
|