Revision aa5e852b2a8f426e0787fe56cdab324be01c44b4 authored by Unknown Author on 18 June 2002, 21:59:42 UTC, committed by Unknown Author on 18 June 2002, 21:59:42 UTC
git-svn-id: http://root.cern.ch/svn/root/tags/v3-03-06@4753 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent f2bed9c
Module.mk
# Module.mk for mc module
# Copyright (c) 2002 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 12/4/2002
MODDIR := mc
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
MCDIR := $(MODDIR)
MCDIRS := $(MCDIR)/src
MCDIRI := $(MCDIR)/inc
##### libMC #####
MCL := $(MODDIRI)/LinkDef.h
MCDS := $(MODDIRS)/G__MC.cxx
MCDO := $(MCDS:.cxx=.o)
MCDH := $(MCDS:.cxx=.h)
MCH1 := $(wildcard $(MODDIRI)/T*.h)
MCH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
MCS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
MCO := $(MCS:.cxx=.o)
MCDEP := $(MCO:.o=.d) $(MCDO:.o=.d)
MCLIB := $(LPATH)/libMC.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(MCH))
ALLLIBS += $(MCLIB)
# include all dependency files
INCLUDEFILES += $(MCDEP)
##### local rules #####
include/%.h: $(MCDIRI)/%.h
cp $< $@
$(MCLIB): $(MCO) $(MCDO) $(MAINLIBS) $(MCLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libMC.$(SOEXT) $@ "$(MCO) $(MCDO)" \
"$(MCLIBEXTRA)"
$(MCDS): $(MCH1) $(MCL) $(ROOTCINTTMP)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(MCH1) $(MCL)
$(MCDO): $(MCDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I. -o $@ -c $<
all-mc: $(MCLIB)
clean-mc:
@rm -f $(MCO) $(MCDO)
clean:: clean-mc
distclean-mc: clean-mc
@rm -f $(MCDEP) $(MCDS) $(MCDH) $(MCLIB)
distclean:: distclean-mc
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...