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: compile:
bison --verbose -d Monicelli.y bison --verbose -d Monicelli.y
flex Monicelli.ll flex -P monicelli_ Monicelli.ll
gcc -DYYDEBUG=0 Monicelli.tab.c lex.yy.c main.c -o mcc g++ -std=c++11 -g -DYYDEBUG=0 Monicelli.tab.c lex.monicelli_.c Nodes.cpp main.cpp -o mcc
rm Monicelli.tab.* lex.yy.c rm Monicelli.tab.* lex.monicelli_.c
graph: graph:
bison --graph Monicelli.y bison --graph Monicelli.y
clean: clean:
rm -f Monicelli.dot Monicelli.tab.* lex.yy.c Monicelli.output rm -f Monicelli.dot Monicelli.tab.* lex.monicelli_.c Monicelli.output