-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
75 lines (58 loc) · 2.44 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
63
64
65
66
67
68
69
70
71
72
73
74
75
# Makefile autogenerated by premake
# Don't edit this file! Instead edit `premake.lua` then rerun `make`
# Options:
# CONFIG=[Debug|Release_AMD|Release]
ifndef CONFIG
CONFIG=Debug
endif
export CONFIG
.PHONY: all clean a2e a2client a2server gui model_loader move mapeditor md5anim2a2a md5mesh2a2m mtleditor obj2a2m
all: a2e a2client a2server gui model_loader move mapeditor md5anim2a2a md5mesh2a2m mtleditor obj2a2m
Makefile: premake.lua a2e/premake.lua albion2/client/premake.lua albion2/server/premake.lua samples/gui/premake.lua samples/model/premake.lua samples/move/premake.lua tools/mapeditor/premake.lua tools/md5anim2a2a/premake.lua tools/md5mesh2a2m/premake.lua tools/mtleditor/premake.lua tools/obj2a2m/premake.lua
@echo ==== Regenerating Makefiles ====
@premake --file $^ --cc gcc --target gnu --os linux
a2e:
@echo ==== Building a2e ====
@$(MAKE) --no-print-directory -C a2e
a2client: a2e
@echo ==== Building a2client ====
@$(MAKE) --no-print-directory -C albion2/client
a2server: a2e
@echo ==== Building a2server ====
@$(MAKE) --no-print-directory -C albion2/server
gui: a2e
@echo ==== Building gui ====
@$(MAKE) --no-print-directory -C samples/gui
model_loader: a2e
@echo ==== Building model_loader ====
@$(MAKE) --no-print-directory -C samples/model
move: a2e
@echo ==== Building move ====
@$(MAKE) --no-print-directory -C samples/move
mapeditor: a2e
@echo ==== Building mapeditor ====
@$(MAKE) --no-print-directory -C tools/mapeditor
md5anim2a2a: a2e
@echo ==== Building md5anim2a2a ====
@$(MAKE) --no-print-directory -C tools/md5anim2a2a
md5mesh2a2m: a2e
@echo ==== Building md5mesh2a2m ====
@$(MAKE) --no-print-directory -C tools/md5mesh2a2m
mtleditor: a2e
@echo ==== Building mtleditor ====
@$(MAKE) --no-print-directory -C tools/mtleditor
obj2a2m: a2e
@echo ==== Building obj2a2m ====
@$(MAKE) --no-print-directory -C tools/obj2a2m
clean:
@$(MAKE) --no-print-directory -C a2e clean
@$(MAKE) --no-print-directory -C albion2/client clean
@$(MAKE) --no-print-directory -C albion2/server clean
@$(MAKE) --no-print-directory -C samples/gui clean
@$(MAKE) --no-print-directory -C samples/model clean
@$(MAKE) --no-print-directory -C samples/move clean
@$(MAKE) --no-print-directory -C tools/mapeditor clean
@$(MAKE) --no-print-directory -C tools/md5anim2a2a clean
@$(MAKE) --no-print-directory -C tools/md5mesh2a2m clean
@$(MAKE) --no-print-directory -C tools/mtleditor clean
@$(MAKE) --no-print-directory -C tools/obj2a2m clean