aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/targets.inc
blob: 514ef2fbeb5660124ec0070d1e5c9bf777a3c3af (plain)
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
all: build

build: build-default-default

clean: clean-default-default

install: install-default-default

###########################################################

build-all-all: build-release-all build-debug-all

build-release-all: build-release-single build-release-multi build-release-shared

build-debug-all: build-debug-single build-debug-multi build-debug-shared

build-all-single: build-release-single build-debug-single

build-all-multi: build-release-multi build-debug-multi

build-all-shared: build-release-shared build-debug-shared

###################################################

install-all-all: install-release-all install-debug-all

install-release-all: install-release-single install-release-multi install-release-shared

install-debug-all: install-debug-single install-debug-multi install-debug-shared

install-all-single: install-release-single install-debug-single

install-all-multi: install-release-multi install-debug-multi

install-all-shared: install-release-shared install-debug-shared

###################################################

clean-all-all: clean-release-all clean-debug-all

clean-release-all: clean-release-single clean-release-multi clean-release-shared

clean-debug-all: clean-debug-single clean-debug-multi clean-debug-shared

clean-all-single: clean-release-single clean-debug-single

clean-all-multi: clean-release-multi clean-debug-multi

clean-all-shared: clean-release-shared clean-debug-shared

###########################################################

build-release-single: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _build_

build-debug-single: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _build_

build-release-multi: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_

build-debug-multi: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _build_

build-release-shared: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _build_

build-debug-shared: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _build_

###########################################################

install-release-single: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _install_

install-debug-single: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _install_

install-release-multi: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _install_

install-debug-multi: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _install_

install-release-shared: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _install_

install-debug-shared: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _install_

###########################################################

clean-release-single: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _clean_

clean-debug-single: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _clean_

clean-release-multi: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _clean_

clean-debug-multi: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _clean_

clean-release-shared: config
	$(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _clean_

clean-debug-shared: config
	$(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _clean_

###########################################################

config: $(USRMAKE) $(SYSCONFIG) $(USRCONFIG)