Makefile updated t#30
This commit is contained in:
3
Makefile
3
Makefile
@ -5,7 +5,7 @@ EXE := alpha
|
||||
CFLAGS := -std=c99 -Wall
|
||||
CPPFLAGS :=
|
||||
|
||||
build: lex.yy.c runner.o runner
|
||||
compiler: lex.yy.c runner.o runner
|
||||
|
||||
lex.yy.c: lexicalStructure.lex
|
||||
$(FLEX) -o lex.yy.c $(LEX)
|
||||
@ -38,6 +38,7 @@ test:
|
||||
./$(EXE) -tok ./tests/test_simpleLiterals.alpha
|
||||
./$(EXE) -tok ./tests/test_real_alpha_file.alpha
|
||||
./$(EXE) -tok ./tests/test_real_alpha_2.alpha
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f lex.yy.c
|
||||
|
Reference in New Issue
Block a user