fixed test execution
This commit is contained in:
parent
75b6c35cc5
commit
695cef33df
@ -46,7 +46,7 @@ LIBS := $(filter-out obj/main.o,$(OBJFILES))
|
|||||||
test_bin/%: tests/%.cpp $(LIBS)
|
test_bin/%: tests/%.cpp $(LIBS)
|
||||||
@echo $(LIBS)
|
@echo $(LIBS)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
$(CXX) $(CXXFLAGS) -o $@ $< $(LIBS)
|
$(CXX) $(CXXFLAGS) -o $@ $< $(LIBS) -lsfml-graphics -lsfml-window -lsfml-system
|
||||||
|
|
||||||
# The 'test' target builds all tests and then runs each one.
|
# The 'test' target builds all tests and then runs each one.
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user