mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
Refresh Makefile.ocaml in objdir if it is modified in srcdir.
Patch by Erick Tryzelaar! llvm-svn: 48149
This commit is contained in:
parent
c1269c8fbe
commit
04e38cf30a
@ -159,7 +159,7 @@ endif
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
|
ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
|
||||||
|
|
||||||
Makefile: $(PROJ_SRC_DIR)/Makefile
|
Makefile: $(PROJ_SRC_DIR)/Makefile $(ExtraMakefiles)
|
||||||
$(Echo) "Updating Makefile"
|
$(Echo) "Updating Makefile"
|
||||||
$(Verb) $(MKDIR) $(@D)
|
$(Verb) $(MKDIR) $(@D)
|
||||||
$(Verb) $(CP) -f $< $@
|
$(Verb) $(CP) -f $< $@
|
||||||
@ -171,7 +171,7 @@ $(PROJ_OBJ_DIR)/Makefile% : $(PROJ_SRC_DIR)/Makefile%
|
|||||||
@case '$?' in \
|
@case '$?' in \
|
||||||
*Makefile.rules) ;; \
|
*Makefile.rules) ;; \
|
||||||
*.in) ;; \
|
*.in) ;; \
|
||||||
*) $(Echo) "Updating $(@F)" ; \
|
*) $(EchoCmd) "Updating $(@F)" ; \
|
||||||
$(MKDIR) $(@D) ; \
|
$(MKDIR) $(@D) ; \
|
||||||
$(CP) -f $< $@ ;; \
|
$(CP) -f $< $@ ;; \
|
||||||
esac
|
esac
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
LEVEL := ../..
|
LEVEL := ../..
|
||||||
DIRS = llvm bitreader bitwriter analysis executionengine
|
DIRS = llvm bitreader bitwriter analysis executionengine
|
||||||
|
ExtraMakefiles = $(PROJ_OBJ_DIR)/Makefile.ocaml
|
||||||
|
|
||||||
ocamldoc:
|
ocamldoc:
|
||||||
$(Verb) for i in $(DIRS) ; do \
|
$(Verb) for i in $(DIRS) ; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user