diff Makefile.gen @ 474:b3b8f90bbbe6

Improve build system.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 02 Jul 2018 00:01:50 +0300
parents 0a2f32b8a26e
children 61fed1286780
line wrap: on
line diff
--- a/Makefile.gen	Sat Jun 09 16:44:37 2018 +0300
+++ b/Makefile.gen	Mon Jul 02 00:01:50 2018 +0300
@@ -23,8 +23,7 @@
 include $(THLIBS)/Makefile.inc
 
 $(TESTS_BIN): $(addprefix $(OBJPATH),$(TESTS_OBJ)) $(THLIBS_A)
-	@echo " LINK $@"
-	@$(CC) $(CFLAGS) -o $@ $+ $(LDFLAGS)
+	$(LINK_BIN)
 
 check: $(TESTS_BIN)
 	$(TESTS_BIN) -v