# C++ sources
-SRCS = AliFMD.cxx AliFMDv0.cxx AliFMDv1.cxx
+SRCS = AliFMD.cxx AliFMDv0.cxx AliFMDv1.cxx AliFMDhit.cxx AliFMDdigit.cxx AliFMDMerger.cxx AliFMDReconstruction.cxx AliFMDReconstParticles.cxx AliFMDDigitizer.cxx AliFMDSDigitizer.cxx
# C++ Headers
DICT = FMDCint.cxx
DICTH = $(DICT:.cxx=.h)
-DICTO = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
# FORTRAN Objectrs
-FOBJS = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
# C Objects
-COBJS = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
# C++ Objects
-OBJS = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
# C++ compilation flags
default: $(SLIBRARY)
+tst: Hit2Digits.cxx
+ g++ -g $(CXXFLAGS) $(SLIBRARY) Hit2Digits.cxx $(ROOTLIBS) -o tst
+
$(LIBDIR)/libFMD.$(SL): $(OBJS)
$(DICT): $(HDRS)
TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
+CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
+
############################### General Macros ################################
include $(ALICE_ROOT)/conf/GeneralMacros
############################ Dependencies #####################################
--include Make-depend
+-include tgt_$(ALICE_TARGET)/Make-depend
+
+
+
+
+
+
+