aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 5d9ccd0606bcec070bae3bc1d634783446467be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CC=clang++
CFLAGS=-pedantic -Wall -ggdb

list: list.cpp
	$(CC) $(CFLAGS) $^ -o $@

.PHONY: memcheck_list
memcheck_list: list
	valgrind --show-leak-kinds=all --leak-check=full ./list;

btree: btree.cpp
	$(CC) $(CFLAGS) $^ -o $@

.PHONY: memcheck_btree
memcheck_btree: btree
	valgrind --show-leak-kinds=all --leak-check=full ./btree;