Commit 1cfdc2a7 authored by Niels Lohmann's avatar Niels Lohmann

🐛 fixed test compilation

parent 77d6f706
...@@ -71,9 +71,9 @@ json_unit: $(OBJECTS) ../src/json.hpp thirdparty/catch/catch.hpp ...@@ -71,9 +71,9 @@ json_unit: $(OBJECTS) ../src/json.hpp thirdparty/catch/catch.hpp
# individual test cases # individual test cases
############################################################################## ##############################################################################
test-%: src/unit.o src/unit-%.o ../src/json.hpp thirdparty/catch/catch.hpp test-%: src/unit-%.o src/unit.o ../src/json.hpp thirdparty/catch/catch.hpp
@echo "[CXXLD] $@" @echo "[CXXLD] $@"
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ @$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $< src/unit.o -o $@
TEST_PATTERN ?= "*" TEST_PATTERN ?= "*"
TEST_PREFIX = "" TEST_PREFIX = ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment