From 695cef33df101f47fffea87c4123af3018b7b4b0 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Fri, 7 Feb 2025 00:29:17 +0100 Subject: [PATCH] fixed test execution --- cpp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/Makefile b/cpp/Makefile index e805156..a2ea4a9 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -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