fixed Makefile

This commit is contained in:
Niels 2015-04-26 22:25:38 +02:00
parent 5e0d4d3830
commit ae2676e7f0

View File

@ -16,9 +16,7 @@ json_unit: test/unit.cpp src/json.hpp test/catch.hpp
$(CXX) -std=c++11 $(CXXFLAGS) $(FLAGS) $(CPPFLAGS) -I src -I test $< $(LDFLAGS) -o $@
# create scanner with re2c
re2c: src/json.hpp
src/json.hpp: src/json.hpp.re2c
re2c:
$(RE2C) -b -s -i --no-generation-date $< | $(SED) '1d' > src/json.hpp
# static analyser