Make a function call point an expression type of its own, and
[smatch.git] / Makefile
blobd96c0bad567cddbad633361f0d7c063908554940
1 CC=gcc
2 CFLAGS=-g -Wall
4 PROGRAMS=test-lexing test-parsing
6 HEADERS=token.h parse.h lib.h symbol.h scope.h expression.h
8 COMMON= parse.o tokenize.o pre-process.o symbol.o lib.o scope.o \
9 expression.o show-parse.o evaluate.o
11 all: $(PROGRAMS)
13 test-lexing: test-lexing.o $(COMMON)
14 gcc -o $@ $< $(COMMON)
16 test-parsing: test-parsing.o $(COMMON)
17 gcc -o $@ $< $(COMMON)
19 evaluate.o: $(HEADERS)
20 expression.o: $(HEADERS)
21 lib.o: $(HEADERS)
22 parse.o: $(HEADERS)
23 pre-process.o: $(HEADERS)
24 scope.o: $(HEADERS)
25 show-parse.o: $(HEADERS)
26 symbol.o: $(HEADERS)
27 test-lexing.o: $(HEADERS)
28 test-parsing.o: $(HEADERS)
29 tokenize.o: $(HEADERS)
31 clean:
32 rm -f *.[oasi] core core.[0-9]* $(PROGRAMS)