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