]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MEVSIM/Makefile
Mostly minor style modifications to be ready for cloning with EMCAL
[u/mrichter/AliRoot.git] / MEVSIM / Makefile
1 ############################### MEVSIM Makefile ###############################
2
3 # Include machine specific definitions
4
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8 PACKAGE = MEVSIM
9
10
11 # C++ sources
12
13
14 ##### MACROS #####
15
16 FSRCS   =  multiplicity_gen.F
17
18 FOBJS   = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
19
20 SRCS    = $(FSRCS) $(CSRCS)
21 OBJS    = $(FOBJS)
22
23 DSRCS   = dummymevsim.F
24 DOBJS   = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(DSRCS))
25
26 # C++ compilation flags
27
28 CXXFLAGS      = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS)
29
30  
31 # C compilation flags
32
33 CFLAGS      = $(COPT) $(CLIBCOPT) $(CLIBDEFS)
34  
35 # FORTRAN compilation flags
36
37 FFLAGS      = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
38
39 ##### TARGETS #####
40  
41 # Target
42
43 SLIBRARY        = $(LIBDIR)/libmevsim.$(SL) $(LIBDIR)/libdummymevsim.$(SL)
44 ALIBRARY        = $(LIBDIR)/libmevsim.a
45
46 default:        $(SLIBRARY)
47
48 $(LIBDIR)/libmevsim.$(SL):  $(OBJS)
49 $(LIBDIR)/libdummymevsim.$(SL):  $(DOBJS)
50
51 depend:                 $(CSRCS) $(DSRCS) $(SRCS)
52
53 TOCLEAN         = $(OBJS) $(DOBJS) *Cint.cxx *Cint.h
54
55 ############################### General Macros ################################
56
57 include $(ALICE_ROOT)/conf/GeneralMacros
58
59 ############################ Dependencies #####################################
60
61 -include tgt_$(ALICE_TARGET)/Make-depend 
62
63
64
65
66
67
68
69
70