]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/Makefile
Add hadronicD option for "gold plated" hadronic D decays.
[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
8828a23e 12SRCS = AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx \
13 AliGenCocktail.cxx AliGenFLUKAsource.cxx \
b22ee262 14 AliGenLib.cxx \
fe4da5cc 15 AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \
dafbc1c5 16 AliPythia.cxx AliDimuCombinator.cxx AliGenHalo.cxx \
1c7eb2b8 17 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
014616eb 18 AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
34ae4501 19 AliGenGSIlib.cxx \
56a10437 20 AliGenHijing.cxx \
21 AliGenEventHeader.cxx AliGenHijingEventHeader.cxx
fe4da5cc 22# C++ Headers
23
24HDRS = $(SRCS:.cxx=.h) EVGENLinkDef.h
25
26# Library dictionary
27
28DICT = EVGENCint.cxx
29DICTH = $(DICT:.cxx=.h)
4adb943a 30DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 31
32# FORTRAN Objectrs
33
4adb943a 34FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 35
36# C Objects
37
4adb943a 38COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 39
40# C++ Objects
41
4adb943a 42OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 43
44# C++ compilation flags
45
46CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
47
48# FORTRAN compilation flags
49
50FFLAGS = $(FOPT)
51
52##### TARGETS #####
53
54# Target
55
cb342460 56SLIBRARY = $(LIBDIR)/libEVGEN.$(SL)
57ALIBRARY = $(LIBDIR)/libEVGEN.a
fe4da5cc 58
31ccd13b 59default: $(SLIBRARY)
fe4da5cc 60
cb342460 61$(LIBDIR)/libEVGEN.$(SL): $(OBJS)
fe4da5cc 62
63$(DICT): $(HDRS)
64
65depend: $(SRCS)
66
50614497 67HEADERS = AliPythia.h
68
69TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 70
e2fe4c02 71CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
72
50614497 73
74
75
fe4da5cc 76############################### General Macros ################################
77
78include $(ALICE_ROOT)/conf/GeneralMacros
79
80############################ Dependencies #####################################
81
1207d6f2 82-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 83
41f6cf69 84
85
86
87
88
89