rcp/test/Makefile

15 lines
306 B
Makefile

INCLUDE := ../include
.PHONY: all
all: build/tests
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 $@)
$(CXX) -std=c++20 -g -Wall -I$(INCLUDE) -o $@ $<
.PHONY: clean
clean:
rm -rf build