Updated Linkdef and libTOF.pkg
[u/mrichter/AliRoot.git] / ISAJET / Makefile
CommitLineData
0795afa3 1############################### PDF Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = ISAJET
9
10PDFDIRS = code isadata isarun isasusy isatape test openfile pdfinit utils/cern_lib
11
12# C++ sources
13
14SRCS =
15
16FSRCS = $(wildcard $(patsubst %,%/*.F,$(PDFDIRS)))
17
18FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
19
20SRCS = $(FSRCS)
21OBJS = $(FOBJS)
22
23# C++ compilation flags
24
25CXXFLAGS = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS) -I.
26
27# C compilation flags
28
29CFLAGS = $(COPT) $(CLIBCOPT) $(CLIBDEFS) -I.
30
31# FORTRAN compilation flags
32
33FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -DCERNLIB_DOUBLE -DCERNLIB_PDFLIB -I.
34
35# Target
36
37SLIBRARY = $(LIBDIR)/libisajet.$(SL)
38ALIBRARY = $(LIBDIR)/libisajet.a
39
40default: $(SLIBRARY)
41
42$(LIBDIR)/libisajet.$(SL): $(OBJS)
43
44depend: $(SRCS)
45
46TOCLEAN = $(OBJS)
47
48############################### General Macros ################################
49
50include $(ALICE_ROOT)/conf/GeneralMacros
51
52############################ Dependencies #####################################
53
54-include tgt_$(ALICE_TARGET)/Make-depend
55
56
57
58
59
60
61
62
63
64
65