changeset 416:2503cd600c8f

Improve build rule for th_string.c depencies.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 09 Mar 2016 13:23:24 +0200
parents 4b1b2e9d073f
children 137a3cca9a9c
files Makefile.gen
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Wed Mar 09 13:06:37 2016 +0200
+++ b/Makefile.gen	Wed Mar 09 13:23:24 2016 +0200
@@ -29,10 +29,9 @@
 #
 all: $(NOBUILD_TARGETS) $(NOINST_TARGETS) $(TARGETS)
 
-th_string.c: th_printf1.c th_strmatch.c th_string.h
+$(THLIBS)th_string.c: $(addprefix $(THLIBS), th_printf1.c th_strmatch.c th_string.h)
 	touch $@
 
-
 $(OBJPATH):
 	$(MKDIR_P) $@