one-variable-linear-equatio.../Makefile

12 lines
157 B
Makefile
Raw Permalink Normal View History

2018-05-21 00:13:18 +08:00
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