one-variable-linear-equatio.../Makefile
Chen, Chien-ting 2637899ed7
Create Makefile
2018-05-21 00:13:18 +08:00

11 lines
157 B
Makefile

CC=gcc
OUTPUT=interp
all: y.tab.c lex.yy.c
$(CC) -o $(OUTPUT) y.tab.c lex.yy.c
y.tab.c: interp.y
bison -vdty interp.y
lex.yy.c: interp.l
flex interp.l