changeset 662:81714d54689c

Improve th_string.o depency chain checking.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 Jan 2020 07:44:44 +0200
parents 7f1efa37288b
children 284d5b789b7c
files Makefile.inc
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.inc	Mon Jan 27 06:09:57 2020 +0200
+++ b/Makefile.inc	Mon Jan 27 07:44:44 2020 +0200
@@ -68,9 +68,10 @@
 all: $(NOBUILD_TARGETS) $(NOINST_TARGETS) $(TARGETS)
 
 
-$(THLIBS)th_string.c: $(addprefix $(THLIBS), \
-	th_printf.c th_printf1.c th_strglob.c th_string.h)
-	@touch $@
+$(OBJPATH)th_string.o: $(addprefix $(THLIBS), \
+	th_string.c th_printf.c th_printf1.c \
+	th_strglob.c th_string.h) $(THLIBS_DEP)
+	$(COMPILE_C_OBJ)
 
 
 $(OBJPATH)%.o: $(THLIBS)%.c $(THLIBS_DEP)