-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
62 lines (51 loc) · 1.91 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
51
52
53
54
55
56
57
58
59
60
61
62
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: jzak </var/mail/jzak> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2014/03/14 20:06:41 by jzak #+# #+# #
# Updated: 2014/03/14 20:06:41 by jzak ### ########.fr #
# #
# **************************************************************************** #
NAME = all
ifndef config
config=release
endif
export config
PROJECTS := nboon test
.PHONY: all clean help $(PROJECTS)
$(NAME): $(PROJECTS)
nboon:
@echo "==== Building nboon ($(config)) ===="
@${MAKE} --no-print-directory -C . -f nboon.make
test: nboon
@echo "==== Building test ($(config)) ===="
@${MAKE} --no-print-directory -C . -f test.make
clean:
@${MAKE} --no-print-directory -C . -f nboon.make clean
@${MAKE} --no-print-directory -C . -f test.make clean
fclean:
@${MAKE} --no-print-directory -C . -f nboon.make fclean
@${MAKE} --no-print-directory -C . -f test.make fclean
re:
@${MAKE} --no-print-directory -C . -f nboon.make re
@${MAKE} --no-print-directory -C . -f test.make re
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " release"
@echo " debug"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " fclean"
@echo " re"
@echo " nboon"
@echo " test"
@echo ""
@echo "For more information :"
@echo "https://github.com/jagu-sayan/42Premake"