try make PA3

This commit is contained in:
ridethepig 2023-03-20 20:23:21 +08:00
parent 657ca4816a
commit 07c8d7748c
2 changed files with 9 additions and 1 deletions

8
.gitignore vendored
View File

@ -7,3 +7,11 @@ assignments/PA2/lexer
*.o
.cache/
compile_commands.json
assignments/PA3/cgen
assignments/PA3/parser
assignments/PA3/semant
assignments/PA3/lexer
assignments/PA3/cool.output
assignments/PA3/cool.tab.h
assignments/PA3/cool-parse.cc
*.d

View File

@ -26,7 +26,7 @@ CPPINCLUDE= -I. -I${CLASSDIR}/include/PA${ASSN} -I${CLASSDIR}/src/PA${ASSN}
BFLAGS = -d -v -y -b cool --debug -p cool_yy
CC=g++
CFLAGS=-g -Wall -Wno-unused -Wno-deprecated -Wno-write-strings -DDEBUG ${CPPINCLUDE}
CFLAGS=-g -Wall -Wno-unused -Wno-deprecated -Wno-write-strings -DDEBUG -std=c++11 ${CPPINCLUDE}
FLEX=flex ${FFLAGS}
BISON= bison ${BFLAGS}
DEPEND = ${CC} -MM ${CPPINCLUDE}