fixed test execution

This commit is contained in:
Karma Riuk 2025-02-07 00:29:17 +01:00
parent 75b6c35cc5
commit 695cef33df

View File

@ -46,7 +46,7 @@ LIBS := $(filter-out obj/main.o,$(OBJFILES))
test_bin/%: tests/%.cpp $(LIBS)
@echo $(LIBS)
@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.
.PHONY: test