Some cleanup of creators
[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
e74335a4 36FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -Ihijing
37
38##### TARGETS #####
39
40# Target
41
42SLIBRARY = $(LIBDIR)/libhijing.$(SL) $(LIBDIR)/libdummyhijing.$(SL)
43ALIBRARY = $(LIBDIR)/libhijing.a
44
45default: $(SLIBRARY)
46
47$(LIBDIR)/libhijing.$(SL): $(OBJS)
48$(LIBDIR)/libdummyhijing.$(SL): $(DOBJS)
49
50depend: $(SRCS) $(DSRCS)
51
52TOCLEAN = $(OBJS) $(DOBJS) *Cint.cxx *Cint.h
53
54############################### General Macros ################################
55
56include $(ALICE_ROOT)/conf/GeneralMacros
57
58############################ Dependencies #####################################
59
60-include tgt_$(ALICE_TARGET)/Make-depend
61