changeset 175:3d578c0043ae

Improve build system.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Jul 2018 00:03:45 +0300
parents e203761c4007
children 2e890e3d5684
files Makefile.gen
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Mon Jun 04 02:58:32 2018 +0300
+++ b/Makefile.gen	Mon Jul 02 00:03:45 2018 +0300
@@ -7,7 +7,6 @@
 #
 # Objects
 #
-THLIBS_A=$(OBJPATH)thlibs.a
 THLIBS_OBJ=th_util.o th_string.o th_ioctx.o th_args.o th_crypto.o
 
 SIDINFO_OBJ=sidlib.o sidinfo.o
@@ -18,6 +17,5 @@
 include $(THLIBS)/Makefile.inc
 
 $(SIDINFO_BIN): $(addprefix $(OBJPATH),$(SIDINFO_OBJ)) $(THLIBS_A) $(EXTRAOBJS)
-	@echo " LINK $@"
-	@$(CC) $(CFLAGS) -o $@ $+ $(LDFLAGS)
+	$(LINK_BIN)