view Makefile.gen @ 226:c32015f4969e

Rename PSIDHeader struct to SIDLibPSIDHeader to conform with the SIDLib prefix used otherwise. Add new function sidlib_read_sid_file_alloc() which allocates the PSID header struct, instead of sidlib_read_sid_file() which just reads into the given struct.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 03 Jan 2020 10:38:18 +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)