Fix rules for etc/cling/Interpreter and friends.

git-svn-id: http://root.cern.ch/svn/root/trunk@48664 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Axel Naumann 2013-02-21 17:28:27 +00:00
parent d0af24b957
commit 711f95413f

View File

@ -137,10 +137,6 @@ distclean:: distclean-$(MODNAME)
$(CLINGDIRS)/Module.mk: $(LLVMCONFIG)
etc/cling/%.h: $(call stripsrc,$(CLINGDIR))/include/cling/%.h
+@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@cp $< $@
etc/cling/llvm/%: $(call stripsrc,$(LLVMDIRI))/include/llvm/%
+@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@cp $< $@
@ -153,6 +149,10 @@ etc/cling/cint/%: $(CLINGDIR)/include/cling/cint/%
+@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@cp $< $@
etc/cling/%.h: $(CLINGDIR)/include/cling/%.h
+@[ -d $(dir $@) ] || mkdir -p $(dir $@)
@cp $< $@
$(CLINGDIR)/%.o: $(CLINGDIR)/%.cpp $(LLVMDEP)
$(MAKEDEP) -R -f$(@:.o=.d) -Y -w 1000 -- $(CXXFLAGS) $(CLINGCXXFLAGS) -D__cplusplus -- $<
$(CXX) $(OPT) $(CLINGCXXFLAGS) $(CXXOUT)$@ -c $<