diff --git a/test/Makefile b/test/Makefile index b9d237c..00ab43d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,11 +3,11 @@ INCLUDE := ../include .PHONY: all all: build/tests build/tests - valgrind -q build/tests + valgrind --leak-check=full --error-exitcode=1 --log-file=build/valgrind.log build/tests build/tests: tests.cpp $(INCLUDE)/rcp.h mkdir -p $$(dirname $@) - $(CC) -std=c++20 -g -Wall -I$(INCLUDE) -o $@ $< + $(CXX) -std=c++20 -g -Wall -I$(INCLUDE) -o $@ $< .PHONY: clean clean: