aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/gnumake-sub.mak
blob: 5e1dfc7371ee220c2f87452dabbffb5674b03baf (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
# system settings
include $(BUILDPATH)config-$(PLATFORM)-$(RTSYS)-$(COMPILER).txt

###############################
# project specific definitions

# package info
include $(PKGINFO)

# special settings
ifdef USRCONFIG
	include $(USRCONFIG)
endif

# package specific make stuff
ifdef USRMAKE
	include $(USRMAKE)
endif

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

ifndef TARGETMODE
ifdef DEBUG
	TARGETMODE=debug
else
	TARGETMODE=release
endif
endif

ifndef TARGETTYPE
ifdef SHARED
	TARGETTYPE=shared
else
ifdef THREADED
	TARGETTYPE=multi
else
	TARGETTYPE=single
endif
endif
endif

##############################
# flext-specific definitions

include $(BUILDPATH)gnumake-$(BUILDCLASS).inc

include $(BUILDPATH)gnumake.inc

##############################
# platform-specific make stuff

include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER)-$(BUILDCLASS).inc

include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER).inc

##############################
# general make stuff

include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER)-$(BUILDCLASS).inc

include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER).inc