-############################### STEER Makefile ################################
-
-# Include machine specific definitions
-
-include $(ALICE_ROOT)/conf/GeneralDef
-include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
-
-PACKAGE = STEER
-
-# C++ sources
-
-SRCS = AliDetector.cxx AliHeader.cxx AliMagF.cxx \
- AliDigit.cxx AliHit.cxx AliPoints.cxx \
- AliDisplay.cxx AliMC.cxx AliRun.cxx AliGenerator.cxx \
- AliLego.cxx AliModule.cxx AliDigitNew.cxx \
- AliGeometry.cxx AliRecPoint.cxx
-
-# C++ Headers
-
-HDRS = $(SRCS:.cxx=.h) AliPDG.h STEERLinkDef.h
-
-# Library dictionary
-
-DICT = STEERCint.cxx
-DICTH = $(DICT:.cxx=.h)
-DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
-
-# FORTRAN Objectrs
-
-FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
-
-# C Objects
-
-COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
-
-# C++ Objects
-
-OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
-
-# C++ compilation flags
-
-CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
-
-# FORTRAN compilation flags
-
-FFLAGS = $(FOPT)
-
-##### TARGETS #####
-
-# Target
-
-SLIBRARY = $(LIBDIR)/libSTEER.$(SL)
-ALIBRARY = $(LIBDIR)/lib/libSTEER.a
-
-default: $(SLIBRARY)
-
-$(LIBDIR)/libSTEER.$(SL): $(OBJS)
-
-$(DICT): $(HDRS)
-
-depend: $(SRCS)
-
-HEADERS = $(filter-out %LinkDef.h,$(HDRS) AliConst.h AliCallf77.h \
- Copyright.h)
-
-TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
-
-############################### General Macros ################################
-
-include $(ALICE_ROOT)/conf/GeneralMacros
-
-############################ Dependencies #####################################
-
--include tgt_$(ALICE_TARGET)/Make-depend
-
-
-
-
-
-
-
-
-### Target check creates violation reports (.viol), which depend on
-### stripped files (.ii), which in turn depend on preprocessed
-### files (.i). Dependences are in conf/GeneralDef.
-
-CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
-
-check: $(CHECKS)
-
-
-
-
-
-
+PACKAGE = invalid-only-for-proof
+
+include $(ROOTSYS)/test/Makefile.arch
+include lib$(PACKAGE).pkg
+
+SRCS += G__$(PACKAGE).cxx
+OBJS = $(SRCS:.cxx=.o)
+
+lib$(PACKAGE).so: $(OBJS)
+ @echo "Linking" $@ ...
+ @/bin/rm -f $@
+ifeq ($(PLATFORM),macosx)
+ @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
+else
+ @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
+endif
+ @chmod a+x $@
+ @echo "done"
+
+%.o: %.cxx %.h
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+clean:
+ @rm -f $(OBJS) *.so G__$(PACKAGE).*
+
+G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
+ @echo "Generating dictionary ..."
+ rootcint -f $@ -c $(ALICEINC) $^