-
Notifications
You must be signed in to change notification settings - Fork 23
/
Makefile
executable file
·46 lines (36 loc) · 1001 Bytes
/
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
-include mk/conf.mk
ifndef CONFIG_STATUS
doConfigure:
$(error Configuration file not defined. Please run $(MAKE) -f mk/configure.mk)
#@$(MAKE) --no-print-directory -f ../mk/configure.mk
else
ifeq ($(CONFIG_STATUS),INVALID)
doConfigure:
$(error Invalid Configuration file. Please run $(MAKE) -f mk/configure.mk)
#@$(MAKE) --no-print-directory -f mk/configure.mk
endif
endif
default:
@$(MAKE) -s -C lib default
@$(MAKE) -s -C engine
.PHONY: tools engine dedicated docs clean
tools:
@$(MAKE) -s -C tools
dedicated:
@$(MAKE) -s -C lib
@$(MAKE) -s -C engine dedicated
engine:
@$(MAKE) -s -C lib
@$(MAKE) -s -C engine engine
html_docs:
# Assumes Doxygen is in your path
@doxygen doc/doxygen/html/doxygen.html.cfg
php_docs:
# Internal gg use only
# Assumes Doxygen is in your path
@doxygen doc/doxygen/php/doxygen.php.cfg
all: default tools
clean:
@$(MAKE) -s -C engine clean
@$(MAKE) -s -C lib clean
@$(MAKE) -s -C tools clean