0
|
1 # Additional binaries (aka the demo)
|
|
2 DEMO_BIN=demo
|
|
3 DEMO_OBJS=demo.o dmsimple.o
|
|
4
|
26
|
5 BPATH := $(shell pwd)
|
|
6 DMLIB := $(BPATH)/dmlib/
|
|
7 PACKAGE = $(BPATH)/ap-bussi.zip
|
|
8 BINPATH = $(BPATH)/bin/
|
|
9 DATA = $(BINPATH)/bussi.dat
|
|
10 MAKE ?= make
|
|
11
|
16
|
12 EXTRA_CFLAGS=-O3
|
|
13
|
0
|
14 TOOL_BINPATH=bin/
|
|
15 TESTS_BINPATH=$(TOOL_BINPATH)
|
|
16
|
8
|
17 #DM_CFLAGS += -fopenmp
|
|
18 #DM_LDFLAGS += -lgomp
|
0
|
19
|
|
20 #DM_DEBUG=yes
|
|
21
|
|
22 # Build engine tests and tools? (Please notice that what
|
|
23 # actually gets built it also affected by other options)
|
|
24 DM_BUILD_TESTS=no
|
|
25 DM_BUILD_TOOLS=no
|
|
26
|
|
27 # Timeline support? (required for editor and complex demos)
|
|
28 DM_USE_TIMELINE=no
|
|
29
|
|
30 # Build Qt based demo editor?
|
|
31 DM_BUILD_EDITOR=no
|
|
32
|
|
33 # Build with runtime asserts?
|
|
34 DM_USE_ASSERTS=yes
|
|
35
|
|
36 # Use plain C routines?
|
|
37 DM_USE_C=yes
|
|
38
|
|
39 # Use MMX/SSE SIMD assembler routines?
|
|
40 DM_USE_SIMD=yes
|
|
41
|
|
42 DM_USE_TREMOR=no
|
|
43
|
|
44 DM_USE_PACKFS=yes
|
|
45 DM_USE_STDIO=yes
|
|
46 DM_USE_MEMIO=no
|
|
47
|
|
48 DM_GFX_BM_TEXT=yes
|
|
49 DM_GFX_TTF_TEXT=no
|
|
50 DM_GFX_LINES=no
|
|
51 DM_GFX_BLITS=yes
|
|
52 DM_GFX_MISC=yes
|
|
53
|
|
54 DM_GFX_8BIT=yes
|
|
55 DM_GFX_32BIT=yes
|
|
56
|
|
57
|
|
58 ###
|
|
59 ### General build options for miniJSS
|
|
60 ###
|
|
61 JSS=yes
|
|
62
|
|
63 # Build a special "light"/minimized version by removing all
|
|
64 # error messages and few other things. (disabled by DM_DEBUG=yes)
|
|
65 JSS_LIGHT=yes
|
|
66
|
|
67 # Build with extra debugging code? (disabled by JSS_LIGHT=yes)
|
|
68 JSS_DEBUG=yes
|
|
69
|
|
70
|
|
71 ### Support loading of XM-format module files
|
|
72 JSS_SUP_XM=yes
|
|
73 #JSS_SUP_JSSMOD=yes
|
|
74
|
|
75 # Enable support for different pattern storage modes
|
|
76 # in the JSSMOD _loader_. Saving in xm2jss is not affected.
|
|
77 #JSSMOD_FLAGS = -DJM_SUP_PATMODE_ALL
|
|
78
|
|
79 # If SUP_PATMODE_ALL is not defined, then you can enable modes individually
|
|
80 # by uncommenting lines below. Refer to 'xm2jss --help' for mode information.
|
|
81 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_1
|
|
82 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_2
|
|
83 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_3
|
|
84 JSSMOD_FLAGS += -DJM_SUP_PATMODE_4
|
|
85 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_5
|
|
86
|
|
87 # Enable ext. instrument, instrument header and sampledata loading:
|
|
88 # (if you disable these, you better know what you are doing.)
|
|
89 JSSMOD_FLAGS += -DJM_SUP_EXT_INSTR
|
|
90 JSSMOD_FLAGS += -DJM_SUP_INSTR
|
|
91 JSSMOD_FLAGS += -DJM_SUP_SAMPLES
|
|
92
|
|
93
|
|
94 ###
|
|
95 ### Locking/thread support
|
|
96 ###
|
|
97 JSS_SUP_THREADS=yes
|