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