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