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../../mjobs \
|
---|
33 | -I../../mpedestal \
|
---|
34 | -I../../mbadpixels \
|
---|
35 | -I../../mfileio \
|
---|
36 | -I../../mraw \
|
---|
37 | -I../../manalysis \
|
---|
38 | -I../../mgui \
|
---|
39 | -I../../mgeom \
|
---|
40 | -I../../msignal \
|
---|
41 | -I../../mcalib \
|
---|
42 | -I../../mfilter \
|
---|
43 | -I../../mhbase \
|
---|
44 | -I../../mimage \
|
---|
45 | -I../../mpointing \
|
---|
46 | -I../../mastro
|
---|
47 |
|
---|
48 |
|
---|
49 | .SUFFIXES: .c .cc .h .o
|
---|
50 |
|
---|
51 | SRCFILES = \
|
---|
52 | MDCA.cc
|
---|
53 | # MSrcRotate.cc
|
---|
54 |
|
---|
55 | SRCS = $(SRCFILES)
|
---|
56 | HEADERS = $(SRCFILES:.cc=.h)
|
---|
57 | OBJS = $(SRCFILES:.cc=.o)
|
---|
58 |
|
---|
59 | ############################################################
|
---|
60 | all: $(LIB) $(PROGRAMS)
|
---|
61 | @echo " Done. "
|
---|
62 | @echo " "
|
---|
63 |
|
---|
64 | include ../../Makefile.rules
|
---|
65 |
|
---|
66 |
|
---|
67 | $(PROGRAMS): $(SOLIB) $(LIB) $(PROGRAMS:=.o)
|
---|
68 | @echo " Linking $@ ..."
|
---|
69 | $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $(LIB) $@.o $(MARS_LIB) -o $@
|
---|
70 |
|
---|
71 | mrproper: clean rmbak
|
---|
72 |
|
---|
73 | # @endcode
|
---|
Note:
See
TracBrowser
for help on using the repository browser.