mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
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.
This commit is contained in:
parent
d62448cb45
commit
3ba431e79e
@ -448,7 +448,7 @@ $(LIB_STATIC): $(OBJECTS)
|
|||||||
$(RM) $@
|
$(RM) $@
|
||||||
$(AR) rs $@ $(OBJECTS)
|
$(AR) rs $@ $(OBJECTS)
|
||||||
|
|
||||||
%.d: %.c
|
%.d: %.c $(INC_LNS)
|
||||||
$(MKDIR_P) $(dir $@); \
|
$(MKDIR_P) $(dir $@); \
|
||||||
set -e; \
|
set -e; \
|
||||||
FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
|
FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
|
||||||
|
Loading…
Reference in New Issue
Block a user