Line | |
---|
1 | ##################################################################
|
---|
2 | #
|
---|
3 | # makefile
|
---|
4 | #
|
---|
5 | # for the MARS IFAE library
|
---|
6 | #
|
---|
7 | ##################################################################
|
---|
8 | # @maintitle
|
---|
9 |
|
---|
10 | # @code
|
---|
11 |
|
---|
12 | #
|
---|
13 | # please change all system depend values in the
|
---|
14 | # config.mk.${OSTYPE} file
|
---|
15 | #
|
---|
16 | #
|
---|
17 | include ../../Makefile.conf.$(OSTYPE)
|
---|
18 | include ../../Makefile.conf.general
|
---|
19 |
|
---|
20 | #
|
---|
21 | CINT = IFAE
|
---|
22 | #
|
---|
23 |
|
---|
24 | PROGRAMS = makeHillas
|
---|
25 | SOLIB = ../../libmars.so
|
---|
26 | LIB = mifae.a
|
---|
27 |
|
---|
28 | #------------------------------------------------------------------------------
|
---|
29 |
|
---|
30 | INCLUDES = -I. \
|
---|
31 | -I../../mbase \
|
---|
32 | -I../../mpedestal \
|
---|
33 | -I../../mbadpixels \
|
---|
34 | -I../../mfileio \
|
---|
35 | -I../../mraw \
|
---|
36 | -I../../manalysis \
|
---|
37 | -I../../mgui \
|
---|
38 | -I../../mgeom \
|
---|
39 | -I../../msignal \
|
---|
40 | -I../../mcalib \
|
---|
41 | -I../../mfilter \
|
---|
42 | -I../../mhbase \
|
---|
43 | -I../../mimage \
|
---|
44 | -I../../mpointing \
|
---|
45 | -I../../mastro
|
---|
46 |
|
---|
47 |
|
---|
48 | .SUFFIXES: .c .cc .h .o
|
---|
49 |
|
---|
50 | SRCFILES = \
|
---|
51 | MDCA.cc
|
---|
52 | # MSrcRotate.cc
|
---|
53 |
|
---|
54 | SRCS = $(SRCFILES)
|
---|
55 | HEADERS = $(SRCFILES:.cc=.h)
|
---|
56 | OBJS = $(SRCFILES:.cc=.o)
|
---|
57 |
|
---|
58 | ############################################################
|
---|
59 | all: $(LIB) $(PROGRAMS)
|
---|
60 | @echo " Done. "
|
---|
61 | @echo " "
|
---|
62 |
|
---|
63 | include ../../Makefile.rules
|
---|
64 |
|
---|
65 |
|
---|
66 | $(PROGRAMS): $(SOLIB) $(LIB) $(PROGRAMS:=.o)
|
---|
67 | @echo " Linking $@ ..."
|
---|
68 | $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $(LIB) $@.o $(MARS_LIB) -o $@
|
---|
69 |
|
---|
70 | mrproper: clean rmbak
|
---|
71 |
|
---|
72 | # @endcode
|
---|
Note:
See
TracBrowser
for help on using the repository browser.