Moved from AliTransbit to AliL3Transbit.
[u/mrichter/AliRoot.git] / MEVSIM / Makefile
CommitLineData
c28b8f8d 1############################### MEVSIM Makefile ###############################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = MEVSIM
9
10
11# C++ sources
12
13
14##### MACROS #####
15
16FSRCS = multiplicity_gen.F
17
18FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
19
20SRCS = $(FSRCS) $(CSRCS)
21OBJS = $(FOBJS)
22
23DSRCS = dummymevsim.F
24DOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(DSRCS))
25
26# C++ compilation flags
27
28CXXFLAGS = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS)
29
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 = $(LIBDIR)/libmevsim.$(SL) $(LIBDIR)/libdummymevsim.$(SL)
44ALIBRARY = $(LIBDIR)/libmevsim.a
45
46default: $(SLIBRARY)
47
48$(LIBDIR)/libmevsim.$(SL): $(OBJS)
49$(LIBDIR)/libdummymevsim.$(SL): $(DOBJS)
50
51depend: $(CSRCS) $(DSRCS) $(SRCS)
52
53TOCLEAN = $(OBJS) $(DOBJS) *Cint.cxx *Cint.h
54
55############################### General Macros ################################
56
57include $(ALICE_ROOT)/conf/GeneralMacros
58
59############################ Dependencies #####################################
60
61-include tgt_$(ALICE_TARGET)/Make-depend
62
63
64
65
66
67
68
69
70