diff options
author | Adrian Kummerländer | 2013-01-05 23:06:51 +0100 |
---|---|---|
committer | Adrian Kummerländer | 2013-01-05 23:06:51 +0100 |
commit | 39038fddb2032c9944e549be8f1665e028cb68b8 (patch) | |
tree | 69b27a62fcb828602f458746976b223c0ecf4d11 /Makefile | |
parent | cde848ce1eb995170723f6f070b9fcba0dfdb880 (diff) | |
download | SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.tar SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.tar.gz SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.tar.bz2 SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.tar.lz SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.tar.xz SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.tar.zst SimpleParser-39038fddb2032c9944e549be8f1665e028cb68b8.zip |
Deprecated parser class in favour of plain functions; Internal lexer,
priority determination and tree building functions were hidden in
unnamed namespace
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -2,14 +2,18 @@ LIB_FILES = src/nodes.cc src/tree.cc src/parser.cc PROG_FILES = main.cc TEST_FILES = test.cc -FLAGS = -std=c++11 -W -Wall -Wextra -pedantic +FLAGS = -std=c++11 -W -Wall -Wextra -pedantic +PARSER = -o bin/parser $(FLAGS) $(PROG_FILES) $(LIB_FILES) -all: parser test +all: dev test -parser: $(PROG_FILES) $(LIB_FILES) - g++ -g -o bin/parser $(FLAGS) $(PROG_FILES) $(LIB_FILES) +dev: $(PROG_FILES) $(LIB_FILES) + g++ -g $(PARSER) + +release: $(PROG_FILES) $(LIB_FILES) + g++ -O3 $(PARSER) test: $(LIB_FILES) $(TEST_FILES) - g++ -O3 -o bin/test -lgtest $(FLAGS) $(LIB_FILES) $(TEST_FILES) + g++ -O3 -o bin/test -lgtest $(TEST_FILES) $(FLAGS) $(LIB_FILES) ./bin/test |