-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
50 lines (47 loc) · 1.07 KB
/
Makefile
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
44
45
46
47
48
49
50
SUBDIRS=\
variadic_templates \
hello_world_color \
std_file_read \
scoped_enums \
initializer_lists \
initializer_lists_with_custom_vector \
constexpr \
decltype \
range_based_for_loop \
range_based_for_loop_custom_begin_end \
lambda \
std_for_each_and_transform \
std_map_with_custom_key \
std_map_reverse_sort \
std_unordered_map \
std_multiset \
std_set \
std_unordered_set \
std_sort_with_custom_iterators \
std_function_and_using \
std_bind \
std_bind_with_a_method \
std_bind_with_a_class_callback \
std_move \
std_forward \
std_unique_ptr \
std_unique_ptr_with_custom_deallocator \
std_unique_ptr_for_file_handling \
std_shared_ptr \
std_shared_ptr_wrapper \
std_thread \
std_thread_timeout \
std_thread_timeout_template \
std_function_with_variadic_template \
std_to_string \
#
# To force clean and avoid "up to date" warning.
#
.PHONY: clean
.PHONY: clobber
all::
@echo make all
$(foreach var,$(SUBDIRS),echo $(var): ; cd $(var)/ && make $@ && cd ..;)
clean:
@echo make clean
$(foreach var,$(SUBDIRS),echo $(var): ; cd $(var)/ && make $@ && cd ..;)