Lexxer cleanup
This commit is contained in:
10
Makefile
10
Makefile
@ -10,8 +10,8 @@ LEX := src/lexicalStructure.lex
|
||||
YACC := src/grammar.y
|
||||
EXE := alpha
|
||||
|
||||
OBJS := tmp/runner.o tmp/symbol_table.o tmp/grammar.tab.o tmp/lex.yy.o tmp/intermediate_code.o
|
||||
# tmp/intermediate_code.o codegen.o
|
||||
OBJS := tmp/runner.o tmp/symbol_table.o tmp/grammar.tab.o tmp/lex.yy.o
|
||||
# tmp/intermediate_code.o codegen.o <--- Add to line above
|
||||
|
||||
TESTS-S1 := $(wildcard tests/sprint1/test/*.alpha)
|
||||
TESTS-S2 := $(wildcard tests/sprint2/test/*.alpha)
|
||||
@ -55,8 +55,10 @@ tmp/lex.yy.o: tmp/lex.yy.c
|
||||
tmp/symbol_table.o: src/symbol_table.c src/symbol_table.h
|
||||
$(CC) $(CFLAGS) -c src/symbol_table.c -o tmp/symbol_table.o
|
||||
|
||||
tmp/intermediate_code.o: src/intermediate_code.c src/intermediate_code.h
|
||||
$(CC) $(CFLAGS) -c src/intermediate_code.c -o tmp/intermediate_code.o
|
||||
# Uncomment rules when ready
|
||||
|
||||
# tmp/intermediate_code.o: src/intermediate_code.c src/intermediate_code.h
|
||||
# $(CC) $(CFLAGS) -c src/intermediate_code.c -o tmp/intermediate_code.o
|
||||
|
||||
# tmp/codegen.o: src/codegen.c src/codegen.h
|
||||
# $(CC) $(CFLAGS) -c src/codegen.c -o tmp/codegen.o
|
||||
|
Reference in New Issue
Block a user