Add makefile as requested

This commit is contained in:
Danila Fedorin 2019-04-22 22:00:15 -07:00
parent cfb35037cd
commit 8f9613128d

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
prog: lex.yy.o
gcc lex.yy.o -o prog
lex.yy.o: lex.yy.c
gcc -c -o lex.yy.o lex.yy.c
lex.yy.c:
flex python.flx
.PHONY: clean
clean:
rm -f prog lex.yy.o lex.yy.c