]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/Makefile
Only one initializer for a default argument
[u/mrichter/AliRoot.git] / STEER / Makefile
CommitLineData
fe4da5cc 1############################### STEER Makefile ################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = STEER
9
10# C++ sources
11
2a33668d 12SRCS = AliDetector.cxx AliHeader.cxx AliMagF.cxx \
13 AliDigit.cxx AliHit.cxx AliPoints.cxx \
14 AliDisplay.cxx AliMC.cxx AliRun.cxx AliGenerator.cxx \
15 AliLego.cxx AliModule.cxx AliDigitNew.cxx \
875c717b 16 AliGeometry.cxx AliRecPoint.cxx
fe4da5cc 17
18# C++ Headers
19
c5970876 20HDRS = $(SRCS:.cxx=.h) AliPDG.h STEERLinkDef.h
fe4da5cc 21
22# Library dictionary
23
24DICT = STEERCint.cxx
25DICTH = $(DICT:.cxx=.h)
4adb943a 26DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 27
28# FORTRAN Objectrs
29
4adb943a 30FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 31
32# C Objects
33
4adb943a 34COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 35
36# C++ Objects
37
4adb943a 38OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 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
cb342460 52SLIBRARY = $(LIBDIR)/libSTEER.$(SL)
53ALIBRARY = $(LIBDIR)/lib/libSTEER.a
fe4da5cc 54
31ccd13b 55default: $(SLIBRARY)
fe4da5cc 56
cb342460 57$(LIBDIR)/libSTEER.$(SL): $(OBJS)
fe4da5cc 58
59$(DICT): $(HDRS)
60
61depend: $(SRCS)
62
6f0fc79c 63HEADERS = $(filter-out %LinkDef.h,$(HDRS) AliConst.h AliCallf77.h \
64 Copyright.h)
fe4da5cc 65
66TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
67
e2fe4c02 68CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
69
fe4da5cc 70############################### General Macros ################################
71
72include $(ALICE_ROOT)/conf/GeneralMacros
73
74############################ Dependencies #####################################
75
1207d6f2 76-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 77
78
79
80
81
82
83