aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/targets.inc
blob: 0372392c40d6f0b8a6ec4db98eaef5c8f0d25380 (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
all: build-default-default

clean: clean-default-default

install: install-default-default

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

build-default-default: build-$(TARGETMODE)-$(TARGETTYPE)

install-default-default: install-$(TARGETMODE)-$(TARGETTYPE)

clean-default-default: clean-$(TARGETMODE)-$(TARGETTYPE)

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

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

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

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

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

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

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

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

install-release-single:
	$(MAKE) $(OPTIONS) _install_

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

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

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

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

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

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

clean-release-single:
	$(MAKE) $(OPTIONS) _clean_

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

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

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

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

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

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

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