Eliminate useless include
[u/mrichter/AliRoot.git] / MUON / Makefile
CommitLineData
fe4da5cc 1############################### MUON Makefile #################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = MUON
9
10# C++ sources
11
12SRCS = AliMUON.cxx AliMUONdisplay.cxx AliMUONpoints.cxx \
13 AliMUONsegmentv1.cxx AliMUONv0.cxx AliMUONv01.cxx
14
15# C++ Headers
16
17HDRS = $(SRCS:.cxx=.h) AliMUONConst.h MUONLinkDef.h
18
19# Library dictionary
20
21DICT = MUONCint.cxx
22DICTH = $(DICT:.cxx=.h)
23DICTO = $(DICT:.cxx=.o)
24
25# Fortran sources
26
27FSRCS = algo.F
28
29# FORTRAN Objectrs
30
31FOBJS = $(FSRCS:.F=.o)
32
33# C Objects
34
35COBJS = $(CSRCS:.c=.o)
36
37# C++ Objects
38
39OBJS = $(SRCS:.cxx=.o) $(DICTO)
40
41# C++ compilation flags
42
43CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44
45# FORTRAN compilation flags
46
47FFLAGS = $(FOPT)
48
49##### TARGETS #####
50
51# Target
52
53SLIBRARY = $(ALICE_ROOT)/lib/libMUON.$(SL)
54ALIBRARY = $(ALICE_ROOT)/lib/libMUON.a
55
56default: $(SLIBRARY)
57
58$(ALICE_ROOT)/lib/libMUON.$(SL): $(OBJS) $(FOBJS)
59
60$(DICT): $(HDRS)
61
62depend: $(SRCS)
63
64TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
65
66############################### General Macros ################################
67
68include $(ALICE_ROOT)/conf/GeneralMacros
69
70############################ Dependencies #####################################
71
f2bd4a7f 72-include Make-depend
fe4da5cc 73