mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Refresh Makefile.ocaml in objdir if it is modified in srcdir.
Patch by Erick Tryzelaar! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48149 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56b8f1d3ee
commit
7252dc0efc
@ -159,7 +159,7 @@ endif
|
||||
#------------------------------------------------------------------------
|
||||
ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
|
||||
|
||||
Makefile: $(PROJ_SRC_DIR)/Makefile
|
||||
Makefile: $(PROJ_SRC_DIR)/Makefile $(ExtraMakefiles)
|
||||
$(Echo) "Updating Makefile"
|
||||
$(Verb) $(MKDIR) $(@D)
|
||||
$(Verb) $(CP) -f $< $@
|
||||
@ -171,7 +171,7 @@ $(PROJ_OBJ_DIR)/Makefile% : $(PROJ_SRC_DIR)/Makefile%
|
||||
@case '$?' in \
|
||||
*Makefile.rules) ;; \
|
||||
*.in) ;; \
|
||||
*) $(Echo) "Updating $(@F)" ; \
|
||||
*) $(EchoCmd) "Updating $(@F)" ; \
|
||||
$(MKDIR) $(@D) ; \
|
||||
$(CP) -f $< $@ ;; \
|
||||
esac
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
LEVEL := ../..
|
||||
DIRS = llvm bitreader bitwriter analysis executionengine
|
||||
ExtraMakefiles = $(PROJ_OBJ_DIR)/Makefile.ocaml
|
||||
|
||||
ocamldoc:
|
||||
$(Verb) for i in $(DIRS) ; do \
|
||||
|
Loading…
Reference in New Issue
Block a user