AliSinpleGen.cxx replaced by AliGenHIJINGpara.cxx AliGenBox.cxx and AliGenFixed.cxx
[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 \
fe4da5cc 14 AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \
dafbc1c5 15 AliPythia.cxx AliDimuCombinator.cxx AliGenHalo.cxx \
1c7eb2b8 16 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
17 AliGenDoubleScan.cxx
fe4da5cc 18# C++ Headers
19
20HDRS = $(SRCS:.cxx=.h) EVGENLinkDef.h
21
22# Library dictionary
23
24DICT = EVGENCint.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)/libEVGEN.$(SL)
53ALIBRARY = $(LIBDIR)/libEVGEN.a
fe4da5cc 54
31ccd13b 55default: $(SLIBRARY)
fe4da5cc 56
cb342460 57$(LIBDIR)/libEVGEN.$(SL): $(OBJS)
fe4da5cc 58
59$(DICT): $(HDRS)
60
61depend: $(SRCS)
62
63HEADERS = $(filter-out %LinkDef.h,$(HDRS))
64
65TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
66
e2fe4c02 67CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
68
fe4da5cc 69############################### General Macros ################################
70
71include $(ALICE_ROOT)/conf/GeneralMacros
72
73############################ Dependencies #####################################
74
1207d6f2 75-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 76
41f6cf69 77
78
79
80
81
82