Create Makefile
This commit is contained in:
parent
932770c480
commit
2637899ed7
1 changed files with 11 additions and 0 deletions
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
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
|
Loading…
Reference in a new issue