-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (30 loc) · 831 Bytes
/
Makefile
File metadata and controls
43 lines (30 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
COMP = clang++
COMP_FLAGS = -Wall -Wextra -Werror -std=c++98
EXEC_NAME = test
all:
vector:
@$(COMP) $(COMP_FLAGS) test_vector.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
stack:
@$(COMP) $(COMP_FLAGS) test_stack.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
map:
@$(COMP) $(COMP_FLAGS) test_map.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
map_iter:
@$(COMP) $(COMP_FLAGS) test_map_iter.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
algorithm:
@$(COMP) $(COMP_FLAGS) test_algorithm.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
type_traits:
@$(COMP) $(COMP_FLAGS) test_type_traits.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
utilities:
@$(COMP) $(COMP_FLAGS) test_utilities.cpp -o $(EXEC_NAME)
@./$(EXEC_NAME)
leaks:
@valgrind --leak-check=full ./$(EXEC_NAME)
fclean:
@rm $(EXEC_NAME)
.PHONY: all vector stack map map_iter algorithm type_traits leaks fclean