Skip to content

Commit

Permalink
revert Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-coelho-medicineone committed Feb 17, 2017
1 parent 4494435 commit bb7a753
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ ifneq ($(JSON11_ENABLE_DR1467_CANARY),)
CANARY_ARGS = -DJSON11_ENABLE_DR1467_CANARY=$(JSON11_ENABLE_DR1467_CANARY)
endif

ifneq ($(JSON11_BUILD_TESTS),)
JSON11_BUILD_TESTS_ARGS = -DJSON11_BUILD_TESTS=$(JSON11_BUILD_TESTS)
endif

test: json11.cpp json11.hpp test.cpp
$(CXX) $(CANARY_ARGS) $(JSON11_BUILD_TESTS_ARGS) -O -std=c++11 json11.cpp test.cpp -o test -fno-rtti -fno-exceptions
$(CXX) $(CANARY_ARGS) -O -std=c++11 json11.cpp test.cpp -o test -fno-rtti -fno-exceptions

clean:
if [ -e test ]; then rm test; fi
Expand Down

0 comments on commit bb7a753

Please sign in to comment.