]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/Makefile
Avoid few more warnings on SunOS
[u/mrichter/AliRoot.git] / RALICE / Makefile
CommitLineData
d88f97cc 1############################### TPC Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = RALICE
9
10# C++ sources
11
12SRCS = Ali3Vector.cxx Ali4Vector.cxx AliBoost.cxx AliCalcluster.cxx \
13 AliCalmodule.cxx AliCalorimeter.cxx AliInvmass.cxx AliJet.cxx \
14 AliMath.cxx AliPosition.cxx AliRandom.cxx AliSample.cxx AliSignal.cxx \
15 AliTrack.cxx AliVertex.cxx
16
17
18# C++ Headers
19
20HDRS = $(SRCS:.cxx=.h) RALICELinkDef.h
21
22# Library dictionary
23
24DICT = RALICECint.cxx
25DICTH = $(DICT:.cxx=.h)
4adb943a 26DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
d88f97cc 27
28# FORTRAN Objectrs
29
30FOBJS = $(FSRCS:.f=.o)
31
32# C Objects
33
34COBJS = $(CSRCS:.c=.o)
35
36# C++ Objects
37
4adb943a 38OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
d88f97cc 39
40# C++ compilation flags
41
42CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
43
44# FORTRAN compilation flags
45
46FFLAGS = $(FOPT)
47
48##### TARGETS #####
49
50# Target
51
52SLIBRARY = $(LIBDIR)/libRALICE.$(SL)
53
54default: $(SLIBRARY)
55
56$(LIBDIR)/libRALICE.$(SL): $(OBJS)
57
58$(DICT): $(HDRS)
59
60depend: $(SRCS)
61
62TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
63
64############################### General Macros ################################
65
66include $(ALICE_ROOT)/conf/GeneralMacros
67
68############################ Dependencies #####################################
69
70-include Make-depend