Moving .y and .l to .ypp and .lpp
This commit is contained in:
parent
3facc1c9d4
commit
97ec6b26f2
10
Makefile
10
Makefile
|
@ -1,11 +1,11 @@
|
|||
compile:
|
||||
bison --verbose -d Monicelli.y
|
||||
flex -P mc Monicelli.ll
|
||||
g++ -Wall -Wno-deprecated-register -std=c++11 -DYYDEBUG=0 Monicelli.tab.c lex.mc.c Nodes.cpp main.cpp -o mcc
|
||||
rm Monicelli.tab.* lex.mc.c
|
||||
bison --verbose -d Monicelli.ypp
|
||||
flex -P mc Monicelli.lpp
|
||||
g++ -Wall -Wno-deprecated-register -std=c++11 -DYYDEBUG=0 Monicelli.tab.cpp lex.mc.c Nodes.cpp main.cpp -o mcc
|
||||
rm Monicelli.tab.* lex.*
|
||||
|
||||
graph:
|
||||
bison --graph Monicelli.y
|
||||
|
||||
clean:
|
||||
rm -f Monicelli.dot Monicelli.tab.* lex.mc.c Monicelli.output
|
||||
rm -f Monicelli.dot Monicelli.tab.* lex.* Monicelli.output location.hh position.hh stack.hh
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%{
|
||||
#include "Monicelli.tab.h"
|
||||
#include "Monicelli.tab.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <cstdlib>
|
Reference in New Issue
Block a user