This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / EVGEN / Makefile
CommitLineData
fe4da5cc 1############################### EVGEN Makefile ################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = EVGEN
9
10# C++ sources
11
12SRCS = AliSimpleGen.cxx AliGenCocktail.cxx AliGenFLUKAsource.cxx \
13 AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \
14 AliPythia.cxx DimuonCombinator.cxx AliGenHalo.cxx
15
16# C++ Headers
17
18HDRS = $(SRCS:.cxx=.h) EVGENLinkDef.h
19
20# Library dictionary
21
22DICT = EVGENCint.cxx
23DICTH = $(DICT:.cxx=.h)
24DICTO = $(DICT:.cxx=.o)
25
26# FORTRAN Objectrs
27
28FOBJS = $(FSRCS:.F=.o)
29
30# C Objects
31
32COBJS = $(CSRCS:.c=.o)
33
34# C++ Objects
35
36OBJS = $(SRCS:.cxx=.o) $(DICTO)
37
38# C++ compilation flags
39
40CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
41
42# FORTRAN compilation flags
43
44FFLAGS = $(FOPT)
45
46##### TARGETS #####
47
48# Target
49
50SLIBRARY = $(ALICE_ROOT)/lib/libEVGEN.$(SL)
51ALIBRARY = $(ALICE_ROOT)/lib/libEVGEN.a
52
53default: $(SLIBRARY) headers
54
55$(ALICE_ROOT)/lib/libEVGEN.$(SL): $(OBJS)
56
57$(DICT): $(HDRS)
58
59depend: $(SRCS)
60
61HEADERS = $(filter-out %LinkDef.h,$(HDRS))
62
63TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
64
65############################### General Macros ################################
66
67include $(ALICE_ROOT)/conf/GeneralMacros
68
69############################ Dependencies #####################################
70
71include Make-depend