aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8e575b74410c2c541987a239d34d2ec66363f705 (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 --leak-check=full ./list;

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

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