json11/Makefile
Andrew Twyman 61ba0a1dd2 Make test.cpp compilable with GCC.
Add clean rule to Makefile.
2015-06-17 18:02:34 -07:00

8 lines
170 B
Makefile

test: json11.cpp json11.hpp test.cpp
$(CXX) -O -std=c++11 json11.cpp test.cpp -o test -fno-rtti -fno-exceptions
clean:
if [ -e test ]; then rm test; fi
.PHONY: clean