rcp/test/Makefile

15 lines
241 B
Makefile

INCLUDE := ../include
.PHONY: all
all: build/tests
build/tests
valgrind -q build/tests
build/tests: tests.cpp $(INCLUDE)/rcp.h
mkdir -p $$(dirname $@)
$(CC) -std=c++20 -g -Wall -I$(INCLUDE) -o $@ $<
.PHONY: clean
clean:
rm -rf build