changeset 607:081426ee3d93

Merge.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 15 Jan 2020 12:24:43 +0200
parents 5ec903f366b5 (current diff) 3851e00bcd71 (diff)
children f92f1b3d7fd4
files
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Tue Jan 14 12:53:23 2020 +0200
+++ b/Makefile.gen	Wed Jan 15 12:24:43 2020 +0200
@@ -1,3 +1,6 @@
+###
+### Compiler flags and paths
+###
 CFLAGS += -W -Wall -Wextra -D_XOPEN_SOURCE=500 -I./
 CFLAGS += -std=c99 -pedantic
 CFLAGS += -g
@@ -8,9 +11,9 @@
 
 THLIBS  = ./
 
-#
-# Objects
-#
+###
+### Objects and binaries
+###
 THLIBS_A=$(OBJPATH)thlibs.a
 THLIBS_OBJ=th_util.o th_config.o th_string.o th_ioctx.o \
 	th_args.o th_crypto.o th_datastruct.o th_network.o \
@@ -24,8 +27,12 @@
 
 include $(THLIBS)/Makefile.inc
 
+
+###
+### Extra targets
+###
 $(TESTS_BIN): $(addprefix $(OBJPATH),$(TESTS_OBJ)) $(THLIBS_A)
-	$(LINK_BIN)
+	$(LINK_C_BIN)
 
 check: $(TESTS_BIN)
 	$(TESTS_BIN) -v