Possibility to have different binaries in the same tree introduced
[u/mrichter/AliRoot.git] / PDF / Makefile
CommitLineData
fe4da5cc 1############################### PDF Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PDF
9
10# C++ sources
11
12SRCS =
13
14FSRCS = $(wildcard spdf/*.F)
15
cb342460 16FOBJS = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 17
18SRCS = $(FSRCS)
19OBJS = $(FOBJS)
20
21# C++ compilation flags
22
23CXXFLAGS = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS) -I.
24
25# C compilation flags
26
27CFLAGS = $(COPT) $(CLIBCOPT) $(CLIBDEFS) -I.
28
29# FORTRAN compilation flags
30
31FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -I.
32
33# Target
34
cb342460 35SLIBRARY = $(LIBDIR)/libpdf.$(SL)
36ALIBRARY = $(LIBDIR)/libpdf.a
fe4da5cc 37
38default: $(SLIBRARY)
39
cb342460 40$(LIBDIR)/libpdf.$(SL): $(OBJS)
fe4da5cc 41
42depend: $(SRCS)
43
44TOCLEAN = $(OBJS)
45
46############################### General Macros ################################
47
48include $(ALICE_ROOT)/conf/GeneralMacros
49
50############################ Dependencies #####################################
51
9f84158c 52-include Make-depend