blob: bde7c17802232bfbc328e425c045ef5743bce2df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
SOURCES = lex.c main.c gram.c
CFLAGS = -g -O -Wall
all: lextest
y.tab.h: gram.c
lextest: ${SOURCES}
cc ${CFLAGS} -o lextest ${SOURCES}
clean:
rm -f gram.c lex.c
rm -f *.o lextest
|