flistTreeFrame attribute added; fCanvasWindow removed
[u/mrichter/AliRoot.git] / PYTHIA6 / Makefile
CommitLineData
952cc209 1############################### PYTHIA6 Makefile ###############################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PYTHIA6
9
10
11# C sources
12
13CSRCS = main.c pythia6_address.c
14
15
16# C Objects
17
18COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
19
20##### MACROS #####
21
2eef49c0 22FSRCS = pythia6150.F pythia6_common_block_address.F pdf_alice.F\
952cc209 23 tpythia6_called_from_cc.F
24
25FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
26
27SRCS = $(FSRCS) $(CSRCS)
28OBJS = $(FOBJS) $(COBJS)
29
30DSRCS = dummypythia6.F
31
32DOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(DSRCS))
33
34# C++ compilation flags
35
36CXXFLAGS = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS)
37
38# C compilation flags
39
40CFLAGS = $(COPT) $(CLIBCOPT) $(CLIBDEFS)
41
42# FORTRAN compilation flags
43
44FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
45
46##### TARGETS #####
47
48# Target
49
50SLIBRARY = $(LIBDIR)/libpythia6.$(SL) $(LIBDIR)/libdummypythia6.$(SL)
51ALIBRARY = $(LIBDIR)/libpythia6.a
52
53default: $(SLIBRARY)
54
55$(LIBDIR)/libpythia6.$(SL): $(OBJS)
56$(LIBDIR)/libdummypythia6.$(SL): $(DOBJS)
57
58depend: $(CSRCS) $(DSRCS)
59
60TOCLEAN = $(OBJS) $(DOBJS) *Cint.cxx *Cint.h
61
62############################### General Macros ################################
63
64include $(ALICE_ROOT)/conf/GeneralMacros
65
66############################ Dependencies #####################################
67
68-include tgt_$(ALICE_TARGET)/Make-depend
69
70