Updating Makefile.

This commit is contained in:
Stefano Sanfilippo 2014-11-27 20:01:40 +01:00
parent 37141d1e7a
commit e65896f2c5

View File

@ -1,11 +1,11 @@
compile:
bison --verbose -d Monicelli.y
flex Monicelli.ll
gcc -DYYDEBUG=0 Monicelli.tab.c lex.yy.c main.c -o mcc
rm Monicelli.tab.* lex.yy.c
flex -P monicelli_ Monicelli.ll
g++ -std=c++11 -g -DYYDEBUG=0 Monicelli.tab.c lex.monicelli_.c Nodes.cpp main.cpp -o mcc
rm Monicelli.tab.* lex.monicelli_.c
graph:
bison --graph Monicelli.y
clean:
rm -f Monicelli.dot Monicelli.tab.* lex.yy.c Monicelli.output
rm -f Monicelli.dot Monicelli.tab.* lex.monicelli_.c Monicelli.output