Revision ce679e383f8de2f82aa5dd8f4d3ca726119e7e44 authored by Fons Rademakers on 20 February 2004, 09:52:14 UTC, committed by Fons Rademakers on 20 February 2004, 09:52:14 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@8277 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 66e6416
Module.mk
# Module.mk for rootx module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := rootx
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
ROOTXDIR := $(MODDIR)
ROOTXDIRS := $(ROOTXDIR)/src
ROOTXDIRI := $(ROOTXDIR)/inc
##### rootx #####
ROOTXH := $(wildcard $(MODDIRI)/*.h)
ROOTXS := $(wildcard $(MODDIRS)/*.cxx)
ROOTXO := $(ROOTXS:.cxx=.o)
ROOTXDEP := $(ROOTXO:.o=.d)
ROOTX := bin/root
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(ROOTXH))
ALLEXECS += $(ROOTX)
# include all dependency files
INCLUDEFILES += $(ROOTXDEP)
##### local rules #####
include/%.h: $(ROOTXDIRI)/%.h
cp $< $@
$(ROOTX): $(ROOTXO)
$(LD) $(LDFLAGS) -o $@ $(ROOTXO) $(XLIBS)
all-rootx: $(ROOTX)
clean-rootx:
@rm -f $(ROOTXO)
clean:: clean-rootx
distclean-rootx: clean-rootx
@rm -f $(ROOTXDEP) $(ROOTX)
distclean:: distclean-rootx
Computing file changes ...