view config.mak @ 2504:0b909a95d689

Bump C standard from C99 to C11.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Jul 2023 18:34:49 +0300
parents 4b24fa290519
children de2e01e4343b
line wrap: on
line source

###
### Global settings
###
# Unfortunately we require Bash for now due to {} brace expansion
SHELL = /bin/bash

THLIBS = th-libs/
CFLAGS += -I$(THLIBS) -I.

CFLAGS += -O2
CFLAGS += -g -W -Wall -Wextra -DNDEBUG -D_XOPEN_SOURCE=500 -std=c11
#CFLAGS += -pedantic
#CFLAGS += -fsanitize=address
#LDFLAGS += -lasan


#COLORMAP_OPTS=-u "www/urchin.inc.php" -a -C
COLORMAP_OPTS=-a -C
COLORMAP_HTML=-f html5


# Wget or curl are autodetected but you can force them here
#HTTPGET ?= curl -o
#HTTPGET ?= wget -O


###
### Misc stuff
###
RSCP = rsync -vptogzL -e ssh
UPLOAD_URL = ccr@tnsp.org:/var/www/tnsp.org/maps/
CFLAGS += -DTH_PROG_AUTHOR="\"By Matti 'ccr' Hamalainen (C) Copyright 2006-2023 TNSP\""
CFLAGS += -DTH_PROG_LICENSE="\"This software is distributed under GNU General Public License version 2\""


###
### List of misc map targets
###
MISC_MAPS_PATH = misc/
MISC_MAPS=votk faerieforest lanzia rilynttar lorenchia \
	esiris esiris2 arelium calythien tyr_farwyn \
	dortlewall vendace_shore