This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / PYTHIA / Makefile
CommitLineData
fe4da5cc 1############################### PYTHIA Makefile ###############################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PYTHIA
9
10# C++ sources
11
12SRCS =
13##### MACROS #####
14
15FSRCS = $(filter-out %pdfset.F,$(filter-out %structm.F,$(wildcard pythia/*.F))) \
16 $(wildcard jetset/*.F)
17
18FOBJS = $(FSRCS:.F=.o)
19
20SRCS = $(FSRCS)
21OBJS = $(FOBJS)
22
23DSRCS = dummypythia.F
24
25DOBJS = $(DSRCS:.F=.o)
26
27# C++ compilation flags
28
29CXXFLAGS = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS)
30
31# C compilation flags
32
33CFLAGS = $(COPT) (CLIBCOPT) $(CLIBDEFS)
34
35# FORTRAN compilation flags
36
37FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
38
39##### TARGETS #####
40
41# Target
42
43SLIBRARY = $(ALICE_ROOT)/lib/libpythia.$(SL) $(ALICE_ROOT)/lib/libdummypythia.$(SL)
44ALIBRARY = $(ALICE_ROOT)/lib/libpythia.a
45
46default: $(SLIBRARY)
47
48$(ALICE_ROOT)/lib/libpythia.$(SL): $(OBJS)
49$(ALICE_ROOT)/lib/libdummypythia.$(SL): $(DOBJS)
50
51depend: $(SRCS) $(DSRCS)
52
53TOCLEAN = $(OBJS) $(DOBJS) *Cint.cxx *Cint.h
54
55############################### General Macros ################################
56
57include $(ALICE_ROOT)/conf/GeneralMacros
58
59############################ Dependencies #####################################
60
61include Make-depend