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

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;