mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Make sure that we don't set up a circular dependency if OBJDIR == SRCDIR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99a401ceb1
commit
e53e397a96
@ -762,6 +762,7 @@ $(MAKE_CONFIG): $(MAKE_CONFIG_IN)
|
||||
#------------------------------------------------------------------------
|
||||
# If the Makefile in the source tree has been updated, copy it over into the
|
||||
# build tree.
|
||||
ifneq ($(OBJMKFILE),$(SRCMKFILE))
|
||||
.PRECIOUS: $(OBJMKFILE)
|
||||
$(OBJMKFILE): $(SRCMKFILE)
|
||||
@$(ECHO) "Updating Makefile from : $(dir $<)"
|
||||
@ -769,6 +770,7 @@ $(OBJMKFILE): $(SRCMKFILE)
|
||||
$(VERB) cp -f $< $@
|
||||
$(VERB) $(MAKE) $(MAKEFLAGS) $(MAKECMDGOALS)
|
||||
@exit 0;
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
# MISCELLANEOUS - utility targets
|
||||
|
Loading…
Reference in New Issue
Block a user