-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
53 lines (36 loc) · 907 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
47
48
49
50
51
52
53
ifdef WIN32CROSS
OPT = WIN32CROSS=1 \
endif
.PHONY: all tools grafx2 ziprelease 3rdparty win32installer \
doc doxygen docarchive doxygenarchive htmldoc \
updateversion unicodefonts check
all: grafx2 tools
doc: doxygen
docarchive: doxygenarchive
check:
$(OPT)$(MAKE) -C src/ check
grafx2: unicodefonts
$(OPT)$(MAKE) -C src/
unicodefonts:
$(MAKE) -C tools/8x8fonts/
ziprelease: grafx2
$(OPT)$(MAKE) -C src/ ziprelease
tools: src/version.c
$(MAKE) -C tools/
3rdparty:
cd 3rdparty/ && $(OPT)$(MAKE)
win32installer:
$(MAKE) -C install/
# generate Doxygen to doc/doxygen
doxygen:
$(MAKE) -C tools/ doxygen
doxygenarchive:
$(MAKE) -C tools/ doxygenarchive
# generate HTML doc to doc/html
htmldoc:
$(MAKE) -C src/ htmldoc
# this C file is generated by the build
src/version.c: grafx2
updateversion: src/version.c
$(MAKE) -C src gfx2.rc
$(MAKE) -C install/ updateversion