Mercurial > hg > batmud > maputils
comparison config.mak @ 2506:de2e01e4343b
Large refactoring and cleanup of the build system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 02 Aug 2023 12:11:49 +0300 |
parents | 0b909a95d689 |
children | 55201a1420df |
comparison
equal
deleted
inserted
replaced
2505:a01c82b8b7d2 | 2506:de2e01e4343b |
---|---|
1 ### | 1 ### |
2 ### Global settings | 2 ### Global settings |
3 ### | 3 ### |
4 WORLDMAP_FONT_FILE=MonospaceBold.ttf | |
5 WORLDMAP_FONT_SCALE=8.0 | |
6 WORLDMAP_UNIT_SIZE=6.0 | |
7 WORLDMAP_SCALE=6 | |
8 | |
9 MKLOC_OPTS= | |
10 MAP2PPM_OPTS= | |
11 | |
12 #COLORMAP_OPTS=-u "www/urchin.inc.php" -a -C | |
13 COLORMAP_OPTS=-a -C | |
14 COLORMAP_HTML=-f html5 | |
15 | |
16 | |
4 # Unfortunately we require Bash for now due to {} brace expansion | 17 # Unfortunately we require Bash for now due to {} brace expansion |
5 SHELL = /bin/bash | 18 SHELL = /bin/bash |
6 | 19 |
7 THLIBS = th-libs/ | 20 THLIBS = th-libs/ |
8 CFLAGS += -I$(THLIBS) -I. | 21 CFLAGS += -I$(THLIBS) -I. |
12 #CFLAGS += -pedantic | 25 #CFLAGS += -pedantic |
13 #CFLAGS += -fsanitize=address | 26 #CFLAGS += -fsanitize=address |
14 #LDFLAGS += -lasan | 27 #LDFLAGS += -lasan |
15 | 28 |
16 | 29 |
17 #COLORMAP_OPTS=-u "www/urchin.inc.php" -a -C | 30 ### |
18 COLORMAP_OPTS=-a -C | 31 ### Detect things |
19 COLORMAP_HTML=-f html5 | 32 ### |
20 | 33 HAVE_CURL ?= $(shell curl --version > /dev/null 2>&1 && echo "yes") |
34 HAVE_WGET ?= $(shell wget --version > /dev/null 2>&1 && echo "yes") | |
35 HAVE_PHP ?= $(shell php --version > /dev/null 2>&1 && echo "yes") | |
36 HAVE_GIMP_CONSOLE ?= $(shell gimp-console --version > /dev/null 2>&1 && echo "yes") | |
21 | 37 |
22 # Wget or curl are autodetected but you can force them here | 38 # Wget or curl are autodetected but you can force them here |
23 #HTTPGET ?= curl -o | 39 #HTTPGET ?= curl -o |
24 #HTTPGET ?= wget -O | 40 #HTTPGET ?= wget -O |
25 | 41 |
26 | 42 |
27 ### | 43 ### |
28 ### Misc stuff | 44 ### Misc stuff |
29 ### | 45 ### |
30 RSCP = rsync -vptogzL -e ssh | |
31 UPLOAD_URL = ccr@tnsp.org:/var/www/tnsp.org/maps/ | |
32 CFLAGS += -DTH_PROG_AUTHOR="\"By Matti 'ccr' Hamalainen (C) Copyright 2006-2023 TNSP\"" | 46 CFLAGS += -DTH_PROG_AUTHOR="\"By Matti 'ccr' Hamalainen (C) Copyright 2006-2023 TNSP\"" |
33 CFLAGS += -DTH_PROG_LICENSE="\"This software is distributed under GNU General Public License version 2\"" | 47 CFLAGS += -DTH_PROG_LICENSE="\"This software is distributed under GNU General Public License version 2\"" |
34 | 48 |
49 RSCP = rsync -vptogzL -e ssh | |
35 | 50 |
36 ### | 51 UPLOAD_URL = ccr@tnsp.org:/var/www/tnsp.org/maps/ |
37 ### List of misc map targets | 52 BATMAP_URL = https://www.bat.org/maps/raw/ |
38 ### | 53 |
39 MISC_MAPS_PATH = misc/ | 54 MISC_MAPS_PATH=misc/ |
40 MISC_MAPS=votk faerieforest lanzia rilynttar lorenchia \ | 55 MISC_MAPS=votk faerieforest lanzia rilynttar lorenchia \ |
41 esiris esiris2 arelium calythien tyr_farwyn \ | 56 esiris esiris2 arelium calythien tyr_farwyn \ |
42 dortlewall vendace_shore | 57 dortlewall vendace_shore |
58 | |
59 CONT_MAPS=laenor rothikgen lucentium furnachia desolathya renardy | |
60 WORLD_MAPS=$(CONT_MAPS) tormentas | |
61 | |
62 |