blob: 5a4e524d69de5a916610d3d8c2caa95847b2f52e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
CC=clang++
CFLAGS=-pedantic -Wall -ggdb
VFLAGS=--show-leak-kinds=all --leak-check=full
OUT=
$(OUT): $(OUT).cpp
$(CC) $(CFLAGS) $^ -o $@
.PHONY: memcheck
memcheck: $(OUT)
valgrind $(VFLAGS) ./$^;
|