1 PACKAGE = invalid-only-for-proof
5 SRCS = $(wildcard *.cxx)
7 DHDR = $(PACKAGE)LinkDef.h
10 PACKCXXFLAGS = $(CXXFLAGS)
15 ### define include dir for local case and par case
17 ifneq ($(STEERBase_INCLUDE),)
18 ALICEINC += -I../$(STEERBase_INCLUDE)
21 # only if no par file was loaded before
22 #ifeq ($(ALICEINC),-I.)
23 ifneq ($(ALICE_ROOT),)
24 ALICEINC += -I$(ALICE_ROOT)/include
28 CXXFLAGS += $(ALICEINC) -g
30 SRCS += G__$(PACKAGE).cxx
31 OBJS = $(SRCS:.cxx=.o)
33 lib$(PACKAGE).so: $(OBJS)
34 @echo "Linking" $@ ...
36 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
41 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
44 @rm -f $(OBJS) *.so G__$(PACKAGE).*
46 G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
47 @echo "Generating dictionaries ..." $(ALICEINC)
48 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^