diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-09-07 14:00:27 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-09-07 17:43:27 +0200 |
commit | 3ba431e79e4914dfaf3cc74aeb52b46757acc8df (patch) | |
tree | 93539343fec09875a81863494f96a10b898dbcee /make.tmpl.in | |
parent | d62448cb456170bab17b2af24e11df964666e1c6 (diff) | |
download | lvm2-3ba431e79e4914dfaf3cc74aeb52b46757acc8df.tar.gz |
makefiles: deps depends on header links
Put include/.symlinks_created as a prerequisite for dep calc.
Otherwise if these are not generated and user enters tests subdir and
runs 'make' he just gets endless loop of dep calculation.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index 3fd341007..712414476 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -448,7 +448,7 @@ $(LIB_STATIC): $(OBJECTS) $(RM) $@ $(AR) rs $@ $(OBJECTS) -%.d: %.c +%.d: %.c $(INC_LNS) $(MKDIR_P) $(dir $@); \ set -e; \ FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ |