Assignment-1/Makefile

14 lines
167 B
Makefile
Raw Permalink Normal View History

2019-04-22 22:00:15 -07:00
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