Mercurial > hg > demos > krapula
annotate config.mak @ 69:f0b26daba6a9
Build adjustments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 29 Oct 2019 18:16:47 +0200 |
parents | 4aec80a03cb0 |
children |
rev | line source |
---|---|
69 | 1 MAKEOPTS=-j4 |
2 EXTRA_CFLAGS=-O3 | |
3 MAKE ?= make | |
4 | |
5 #DM_CFLAGS += -fopenmp | |
6 #DM_LDFLAGS += -lgomp | |
56
301e379894ab
Enable stdiofs when DM_DEBUG=yes.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
7 #DM_DEBUG=yes |
301e379894ab
Enable stdiofs when DM_DEBUG=yes.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
8 |
69 | 9 |
10 # Additional binaries (aka the demo) | |
39
57d67886153e
Update to latest engine changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
36
diff
changeset
|
11 DEMO_BIN=krapula |
53
554e3f02ba6f
Unify / update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
48
diff
changeset
|
12 DEMO_OBJS=demo.o dmsimple.o |
554e3f02ba6f
Unify / update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
48
diff
changeset
|
13 |
59
7daf69b39f34
Cleanups, add license, file_id.diz, fix and update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
14 BPATH := $(shell pwd) |
7daf69b39f34
Cleanups, add license, file_id.diz, fix and update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
15 DMLIB := $(BPATH)/dmlib/ |
7daf69b39f34
Cleanups, add license, file_id.diz, fix and update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
16 PACKAGE = $(BPATH)/ap-krapula.zip |
7daf69b39f34
Cleanups, add license, file_id.diz, fix and update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
17 BINPATH = $(BPATH)/bin/ |
69 | 18 DATA_PKG = $(BINPATH)/orvellys.dat |
19 TOOL_BINPATH = $(DMLIB)tools/ | |
36 | 20 |
0 | 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 | |
65 | 24 DM_BUILD_TOOLS=no |
0 | 25 |
40
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
26 # Timeline support? (required for editor and complex demos) |
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
27 DM_USE_TIMELINE=no |
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
28 |
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
29 # Build Qt based demo editor? |
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
30 DM_BUILD_EDITOR=no |
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
31 |
0 | 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? | |
6 | 39 DM_USE_SIMD=yes |
0 | 40 |
26
077d08c442f7
Update to match latest engine changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
6
diff
changeset
|
41 DM_USE_TREMOR=no |
0 | 42 |
31
c7703611ea04
Update to match with engine changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
26
diff
changeset
|
43 DM_USE_PACKFS=yes |
56
301e379894ab
Enable stdiofs when DM_DEBUG=yes.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
44 ifeq ($(DM_DEBUG),yes) |
301e379894ab
Enable stdiofs when DM_DEBUG=yes.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
45 DM_USE_STDIO=yes |
301e379894ab
Enable stdiofs when DM_DEBUG=yes.
Matti Hamalainen <ccr@tnsp.org>
parents:
53
diff
changeset
|
46 endif |
31
c7703611ea04
Update to match with engine changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
26
diff
changeset
|
47 DM_USE_MEMIO=no |
0 | 48 |
40
9cbb03e85597
Update to latest dmlib API changes.
Matti Hamalainen <ccr@tnsp.org>
parents:
39
diff
changeset
|
49 DM_GFX_BM_TEXT=yes |
0 | 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 | |
53
554e3f02ba6f
Unify / update build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
48
diff
changeset
|
65 # error messages and few other things. (disabled by DM_DEBUG=yes) |
48 | 66 JSS_LIGHT=yes |
0 | 67 |
68 # Build with extra debugging code? (disabled by JSS_LIGHT=yes) | |
69 JSS_DEBUG=no | |
70 | |
71 | |
72 ### Support loading of XM-format module files | |
73 JSS_SUP_XM=yes | |
74 | |
75 | |
76 ### Generic support of JSSMOD-format modules | |
4
a039e8eebfb6
Disable jssmod support in the build configuration, as we do not need it.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
77 JSS_SUP_JSSMOD=no |
0 | 78 |
79 # Enable support for different pattern storage modes | |
80 # in the JSSMOD _loader_. Saving in xm2jss is not affected. | |
81 JSSMOD_FLAGS = -DJM_SUP_PATMODE_ALL | |
82 | |
83 # If SUP_PATMODE_ALL is not defined, then you can enable modes individually | |
84 # by uncommenting lines below. Refer to 'xm2jss --help' for mode information. | |
85 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_1 | |
86 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_2 | |
87 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_3 | |
88 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_4 | |
89 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_5 | |
90 | |
91 # Enable ext. instrument, instrument header and sampledata loading: | |
92 # (if you disable these, you better know what you are doing.) | |
93 JSSMOD_FLAGS += -DJM_SUP_EXT_INSTR | |
94 JSSMOD_FLAGS += -DJM_SUP_INSTR | |
95 JSSMOD_FLAGS += -DJM_SUP_SAMPLES | |
96 | |
97 | |
98 ### | |
99 ### Locking/thread support | |
100 ### | |
101 JSS_SUP_THREADS=yes |