view Makefile.gen @ 264:5afa6052f796

Change SIDLibSTILSubTune::fields to new SIDLibSTILField structure for fields, in order to allow multiple values for the same field, for example same (sub)tune might have multiple ARTIST fields designating different artists.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Jan 2020 23:51:04 +0200
parents d26bc1adfd14
children a5bc27d26174
line wrap: on
line source

CFLAGS += -W -Wall -Wextra -std=c11 -pedantic -I./ -D_XOPEN_SOURCE=500
CFLAGS += -g
CFLAGS += -O2
THLIBS = th-libs/


#
# Objects
#
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 sidinfo.o
SIDINFO_BIN=$(BINPATH)sidinfo$(EXEEXT)

TARGETS += $(SIDINFO_BIN)

include $(THLIBS)/Makefile.inc

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