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