Removed useless TGeant3 include
[u/mrichter/AliRoot.git] / FMD / Makefile
CommitLineData
fe4da5cc 1############################### FMD Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = FMD
9
10# C++ sources
11
12SRCS = AliFMD.cxx AliFMDv0.cxx AliFMDv1.cxx
13
14# C++ Headers
15
16HDRS = $(SRCS:.cxx=.h) FMDLinkDef.h
17
18# Library dictionary
19
20DICT = FMDCint.cxx
21DICTH = $(DICT:.cxx=.h)
2908c594 22DICTO = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 23
24# FORTRAN Objectrs
25
2908c594 26FOBJS = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 27
28# C Objects
29
2908c594 30COBJS = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 31
32# C++ Objects
33
2908c594 34OBJS = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 35
36# C++ compilation flags
37
38CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
39
40# FORTRAN compilation flags
41
42FFLAGS = $(FOPT)
43
44##### TARGETS #####
45
46# Target
47
2908c594 48SLIBRARY = $(LIBDIR)/libFMD.$(SL)
49ALIBRARY = $(LIBDIR)/libFMD.a
fe4da5cc 50
51default: $(SLIBRARY)
52
2908c594 53$(LIBDIR)/libFMD.$(SL): $(OBJS)
fe4da5cc 54
55$(DICT): $(HDRS)
56
57depend: $(SRCS)
58
54217642 59TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 60
61############################### General Macros ################################
62
63include $(ALICE_ROOT)/conf/GeneralMacros
64
65############################ Dependencies #####################################
66
f2bd4a7f 67-include Make-depend