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