changeset 680:7d4730232ee3

Improve build system.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Jul 2018 00:04:53 +0300
parents ec7e61450087
children ceb73b712121
files Makefile.gen
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Mon Jun 04 03:08:18 2018 +0300
+++ b/Makefile.gen	Mon Jul 02 00:04:53 2018 +0300
@@ -34,8 +34,8 @@
 main.c: VERSION
 
 $(NNCHAT_BIN): $(addprefix $(OBJPATH),$(NNCHAT_OBJ)) $(THLIBS_A) $(EXTRAOBJS)
-	@echo " LINK $@"
-	@$(CC) $(CFLAGS) -o $@ $+ $(LDFLAGS)
+	$(LINK_BIN)
+
 
 #
 # Documentation