Attempt to avoid complaints in MinGW that 'fmt' does not exist during depends
This commit is contained in:
parent
649859601c
commit
350cba41a8
2
rules.mk
2
rules.mk
|
@ -318,7 +318,7 @@ OBJ_DEPS=$(OBJDIR_DEPS) $(MAKEFILE_DEPS) | hello prebuild
|
|||
# generated dependency but no longer in the source code.
|
||||
# The trick is quite ugly, but fortunately documented here:
|
||||
# http://scottmcpeak.com/autodepend/autodepend.html
|
||||
POSTPROCESS_DEPENDENCY= \
|
||||
POSTPROCESS_DEPENDENCY?= \
|
||||
( sed -e 's/.*://' -e 's/\\$$//' < $@ | \
|
||||
fmt -1 | \
|
||||
sed -e 's/^ *//' -e 's/$$/:/' >> $@ )
|
||||
|
|
Loading…
Reference in New Issue