Mercurial > hg > sidinfo
view Makefile.gen @ 361:5711c23e40cc
Oops, forgot to mark sidlib_stil_fields_{uc,lc} arrays extern in the header file. Fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 26 Aug 2020 10:07:23 +0300 |
parents | 969f86b74bff |
children | ab53c76f40d5 |
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_file.o th_args.o \ th_crypto.o th_datastruct.o th_ioctx.o \ th_ioctx_stdio.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_C_BIN)