-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
125 lines (99 loc) · 3.31 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
include build/make/platforms/detect-host.mk
##################################################################################
# ALL PLATFORMS
##################################################################################
CppCore.Example.Server:
@echo [BLD] CppCore.Example.Server
+@make -s -C ./build/make/ -f CppCore.Example.Server.mk
CppCore.Example.Server-clean:
@echo [CLN] CppCore.Example.Server
+@make -s -C ./build/make/ -f CppCore.Example.Server.mk clean
CppCore.Example.Server-dist:
@echo [DST] CppCore.Example.Server
+@make -s -C ./build/make/ -f CppCore.Example.Server.mk dist
CppCore.Example.Client:
@echo [BLD] CppCore.Example.Client
+@make -s -C ./build/make/ -f CppCore.Example.Client.mk
CppCore.Example.Client-clean:
@echo [CLN] CppCore.Example.Client
+@make -s -C ./build/make/ -f CppCore.Example.Client.mk clean
CppCore.Example.Client-dist:
@echo [DST] CppCore.Example.Client
+@make -s -C ./build/make/ -f CppCore.Example.Client.mk dist
CppCore.Example.UI:
@echo [BLD] CppCore.Example.UI
+@make -s -C ./build/make/ -f CppCore.Example.UI.mk
CppCore.Example.UI-clean:
@echo [CLN] CppCore.Example.UI
+@make -s -C ./build/make/ -f CppCore.Example.UI.mk clean
CppCore.Example.UI-dist:
@echo [DST] CppCore.Example.UI
+@make -s -C ./build/make/ -f CppCore.Example.UI.mk dist
CppCore.Test:
@echo [BLD] CppCore.Test
+@make -s -C ./build/make/ -f CppCore.Test.mk
CppCore.Test-clean:
@echo [CLN] CppCore.Test
+@make -s -C ./build/make/ -f CppCore.Test.mk clean
CppCore.Test-run:
@echo [RUN] CppCore.Test
+@make -s -C ./build/make/ -f CppCore.Test.mk run
CppCore.Interface.C:
@echo [BLD] CppCore.Interface.C
+@make -s -C ./build/make/ -f CppCore.Interface.C.mk
CppCore.Interface.C-clean:
@echo [CLN] CppCore.Interface.C
+@make -s -C ./build/make/ -f CppCore.Interface.C.mk clean
CppCore.Interface.C-dist:
@echo [DST] CppCore.Interface.C
+@make -s -C ./build/make/ -f CppCore.Interface.C.mk lib-dist
CppCore.Interface.Python:
@echo [BLD] CppCore.Interface.Python
+@make -s -C ./build/make/ -f CppCore.Interface.Python.mk
CppCore.Interface.JS:
@echo [BLD] CppCore.Interface.JS
+@make -s -C ./build/make/ -f CppCore.Interface.JS.mk
CppCore.Debug:
@echo [BLD] CppCore.Debug
+@make -s -C ./build/make/ -f CppCore.Debug.mk
CppCore.Debug-clean:
@echo [CLN] CppCore.Debug
+@make -s -C ./build/make/ -f CppCore.Debug.mk clean
##################################################################################
ifneq ($(TARGET_OS),wasi)
all: \
CppCore.Example.Server \
CppCore.Example.Client \
CppCore.Example.UI \
CppCore.Interface.C \
CppCore.Test \
CppCore.Debug
clean: \
CppCore.Example.Server-clean \
CppCore.Example.Client-clean \
CppCore.Example.UI-clean \
CppCore.Interface.C-clean \
CppCore.Test-clean \
CppCore.Debug-clean
dist: \
CppCore.Example.Server-dist \
CppCore.Example.Client-dist \
CppCore.Example.UI-dist \
CppCore.Interface.C-dist
else
all: \
CppCore.Interface.C \
CppCore.Test \
CppCore.Debug
clean: \
CppCore.Interface.C-clean \
CppCore.Test-clean \
CppCore.Debug-clean
dist: \
CppCore.Interface.C-dist
endif
test: \
CppCore.Test-run
##################################################################################
.PHONY: all clean
.DEFAULT_GOAL := all