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 psffit
|
---|
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../../mcamera \
|
---|
47 | -I../../mastro
|
---|
48 |
|
---|
49 |
|
---|
50 | #.SUFFIXES: .c .cc .h .o
|
---|
51 |
|
---|
52 | SRCFILES = \
|
---|
53 | MDCA.cc \
|
---|
54 | MPSFFit.cc \
|
---|
55 | MPSFFitCalc.cc \
|
---|
56 | MSrcPosFromFile.cc
|
---|
57 | # MSrcRotate.cc
|
---|
58 |
|
---|
59 | #SRCS = $(SRCFILES)
|
---|
60 | #HEADERS = $(SRCFILES:.cc=.h)
|
---|
61 | #OBJS = $(SRCFILES:.cc=.o)
|
---|
62 |
|
---|
63 | ############################################################
|
---|
64 | #all: $(LIB) $(PROGRAMS)
|
---|
65 | all: $(OBJS)
|
---|
66 | @echo " Done. "
|
---|
67 | @echo " "
|
---|
68 |
|
---|
69 | include ../../Makefile.rules
|
---|
70 |
|
---|
71 |
|
---|
72 | $(PROGRAMS): $(SOLIB) $(LIB) $(PROGRAMS:=.o)
|
---|
73 | @echo " Linking $@ ..."
|
---|
74 | $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) ${OBJS} -L../../lib -lmifae $@.o $(MARS_LIB) -o $@
|
---|
75 | @echo " Removing $@.o ..."
|
---|
76 | rm $@.o
|
---|
77 |
|
---|
78 | mrproper: rmbin clean rmbak
|
---|
79 |
|
---|
80 | # @endcode
|
---|
Note:
See
TracBrowser
for help on using the repository browser.