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