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