Make-depend automatically generated if not there.
[u/mrichter/AliRoot.git] / PMD / Makefile
CommitLineData
fe4da5cc 1############################### PMD Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PMD
9
10# C++ sources
11
6edc06da 12SRCS = AliPMD.cxx AliPMDv0.cxx AliPMDv1.cxx AliPMDv2.cxx
fe4da5cc 13
14# C++ Headers
15
16HDRS = $(SRCS:.cxx=.h) PMDLinkDef.h
17
18# Library dictionary
19
20DICT = PMDCint.cxx
21DICTH = $(DICT:.cxx=.h)
22DICTO = $(DICT:.cxx=.o)
23
24# FORTRAN Objectrs
25
26FOBJS = $(FSRCS:.f=.o)
27
28# C Objects
29
30COBJS = $(CSRCS:.c=.o)
31
32# C++ Objects
33
34OBJS = $(SRCS:.cxx=.o) $(DICTO)
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
48SLIBRARY = $(ALICE_ROOT)/lib/libPMD.$(SL)
49ALIBRARY = $(ALICE_ROOT)/lib/libPMD.a
50
51default: $(SLIBRARY)
52
53$(ALICE_ROOT)/lib/libPMD.$(SL): $(OBJS)
54
55$(DICT): $(HDRS)
56
57depend: $(SRCS)
58
59TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
60
61############################### General Macros ################################
62
63include $(ALICE_ROOT)/conf/GeneralMacros
64
65############################ Dependencies #####################################
66
9f84158c 67-include Make-depend