diff options
author | Carlo Zancanaro <carlo@carlo-laptop> | 2012-07-09 03:36:11 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@carlo-laptop> | 2012-07-09 03:36:11 +1000 |
commit | f7d846f18354e254353bc417ed1a666c59ef3ea2 (patch) | |
tree | 7d2b94142c48712c5bdfa61551811e03518b803b /impl/Makefile | |
parent | b8045f2fa861959cdd87bd88dc2c6be98c115ec8 (diff) |
Better implementation: smarter strategy iteration
Also add the beginnings of some log stuff, mayhaps.
Diffstat (limited to 'impl/Makefile')
-rw-r--r-- | impl/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/impl/Makefile b/impl/Makefile index a6d5999..588c3ab 100644 --- a/impl/Makefile +++ b/impl/Makefile @@ -1,10 +1,15 @@ CC=gcc CPP=g++ BUILD=build/ -FLAGS=-Wall -Werror -g -lantlr3c -pg +FLAGS=-Wall -Werror -Wextra -pedantic -g -lantlr3c -pg -std=c++11 all: main +.PHONY: check-syntax +check-syntax: + -$(CPP) $(FLAGS) -fsyntax-only -x c++ $(CHK_SOURCES) +# the - is to ignore the return code. + main: build-dir grammar $(CPP) main.cpp *.o -o $(BUILD)/main $(FLAGS) |