]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TMEVSIM/Makefile
Added macro for simply reading a binary rawdata file
[u/mrichter/AliRoot.git] / TMEVSIM / Makefile
1 ############################### TMevSim 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 = TMevSim
9
10 # C++ sources
11
12 SRCS          =  TMevSim.cxx TMevSimPartTypeParams.cxx TMevSimConverter.cxx
13      
14
15 # Fortran sources
16
17 FSRCS          = 
18
19 # C++ Headers
20
21 HDRS          = $(SRCS:.cxx=.h) TMevSimLinkDef.h
22
23 # Library dictionary
24
25 DICT          = TMevSimCint.cxx
26 DICTH         = $(DICT:.cxx=.h)
27 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
28
29 # FORTRAN Objectrs
30
31 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
32
33 # C Objects
34
35 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
36
37 # C++ Objects
38
39 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
40
41 # C++ compilation flags
42
43 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44  
45 # FORTRAN compilation flags
46
47 FFLAGS      = $(FOPT) -I$(ALICE_ROOT)/GEANT321
48
49 ##### TARGETS #####
50  
51 # Target
52
53 SLIBRARY        = $(LIBDIR)/libTMevSim.$(SL)
54 ALIBRARY        = $(LIBDIR)/libTMevSim.a
55
56 default:        $(SLIBRARY)
57
58
59 $(LIBDIR)/libTMevSim.$(SL):             $(OBJS)
60
61 $(DICT):                        $(HDRS)
62
63 DEPINC += -I$(ALICE_ROOT)/GEANT321
64
65 depend:                         $(SRCS) $(FSRCS)
66
67 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
68
69 HEADERS       = TMevSim.h MevSimCommon.h TMevSimPartTypeParams.h TMevSimConverter.h
70
71 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
72
73 ############################### General Macros ################################
74
75 include $(ALICE_ROOT)/conf/GeneralMacros
76
77 ############################ Dependencies #####################################
78
79 -include tgt_$(ALICE_TARGET)/Make-depend 
80
81