view Makefile.gen @ 341:fe061ead51cc

Perform character set conversion after item formatting step instead of before it. This should remedy the potential issue of formatting not taking UTF8 multibyte into account, as our formatting unfortunately does not support multibyte encoding. This way the data should stay in ISO-8859-1 format just up to outputting it.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jan 2020 16:29:47 +0200
parents b6f88c150573
children 5fafd0735b18
line wrap: on
line source

CFLAGS += -W -Wall -Wextra -std=c99 -pedantic -I./ -D_XOPEN_SOURCE=500
CFLAGS += -g
CFLAGS += -O2
#CFLAGS += -flto
CFLAGS += -DTH_USE_OPT_ARG=1
THLIBS = th-libs/


###
### Objects and targets
###
THLIBS_OBJ=th_util.o th_string.o th_ioctx.o \
	th_file.o th_args.o th_crypto.o th_datastruct.o

SIDINFO_OBJ=sidlib.o sidutil.o sidinfo.o
SIDINFO_BIN=$(BINPATH)sidinfo$(BINEXT)

TARGETS += $(SIDINFO_BIN)


###
### Rules
###
include $(THLIBS)/Makefile.inc


$(SIDINFO_BIN): $(addprefix $(OBJPATH),$(SIDINFO_OBJ)) $(THLIBS_A) $(EXTRAOBJS)
	$(LINK_BIN)