-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (26 loc) · 850 Bytes
/
Makefile
File metadata and controls
27 lines (26 loc) · 850 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
Q = $(if $(filter 1,$(V) $(VERBOSE)),,@)
colon := :
all:
$(Q)sh -c "cd build/debug/a && make all"
$(Q)sh -c "cd build/debug/so && make all"
$(Q)sh -c "cd build/release/a && make all"
$(Q)sh -c "cd build/release/so && make all"
clean:
$(Q)sh -c "cd build/debug/a && make clean"
$(Q)sh -c "cd build/debug/so && make clean"
$(Q)sh -c "cd build/release/a && make clean"
$(Q)sh -c "cd build/release/so && make clean"
$(Q)sh -c "cd build/debug/test && make clean"
fclean:
$(Q)sh -c "cd build/debug/a && make fclean"
$(Q)sh -c "cd build/debug/so && make fclean"
$(Q)sh -c "cd build/release/a && make fclean"
$(Q)sh -c "cd build/release/so && make fclean"
$(Q)sh -c "cd build/debug/test && make fclean"
$(Q)rm -rf dist
re: fclean all
test:
$(Q)norminette > /dev/null
dist: test
$(Q)sh build/scripts/dist.sh
.PHONY: all clean fclean re dist