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