source: trunk/Makefile.in @ 232

Last change on this file since 232 was 232, checked in by Matthew Whiting, 17 years ago

Large raft of changes. Most are minor ones related to fixing up the use of std::string and std::vector (whether they are declared as using, or not...). Other changes include:

  • Moving the reconstruction filter class Filter into its own header/implementation files filter.{hh,cc}. As a result, the atrous.cc file is removed, but atrous.hh remains with just the function prototypes.
  • Incorporating a Filter object into the Param set, so that the reconstruction routines can see it without the messy "extern" call. The define() function is now called in both the Param() and Param::readParams() functions, and no longer in the main body.
  • Col functions in columns.cc moved into the Column namespace, while the template function printEntry is moved into the columns.hh file -- it would not compile on delphinus with it in the columns.cc, even though all the implementations were present.
  • Improved the introductory section of the Guide, with a bit more detail about each of the execution steps. This way the reader can read this section and have a reasonably good idea about what is happening.
  • Other minor changes to the Guide.
File size: 2.7 KB
Line 
1CFLAGS = -c
2
3FFLAGS = -C -fast -O4
4
5CC =    @CC@
6CXX =   @CXX@
7F77=    @F77@ $(FFLAGS)
8
9BASE = ./src
10
11INSTALLDIR = .
12
13EXEC = Duchamp
14
15PGPLOTINC = @PGPLOTINC@
16PGPLOTLIB = @PGPLOTLIB@
17
18CFITSIOINC = @CFITSIOINC@
19CFITSIOLIB = @CFITSIOLIB@
20
21WCSINC = @WCSINC@
22WCSLIB = @WCSLIB@
23
24CINC = $(PGPLOTINC) $(WCSINC) $(CFITSIOINC) -I$(BASE)
25
26LIBS = @LDFLAGS@ $(WCSLIB) $(CFITSIOLIB) $(PGPLOTLIB) @LIBS@
27
28ATROUSDIR = $(BASE)/ATrous
29DETECTIONDIR = $(BASE)/Detection
30CUBESDIR = $(BASE)/Cubes
31FITSIODIR = $(BASE)/FitsIO
32UTILDIR = $(BASE)/Utils
33TESTDIR = ./verification
34
35HEADS = $(BASE)/duchamp.hh\
36        $(BASE)/param.hh\
37        $(ATROUSDIR)/atrous.hh\
38        $(ATROUSDIR)/filter.hh\
39        $(DETECTIONDIR)/detection.hh\
40        $(DETECTIONDIR)/columns.hh\
41        $(CUBESDIR)/cubes.hh\
42        $(CUBESDIR)/plots.hh\
43        $(UTILDIR)/Statistics.hh\
44        $(UTILDIR)/utils.hh
45
46OBJECTS = $(BASE)/mainDuchamp.o \
47        $(BASE)/duchamp.o\
48        $(BASE)/param.o\
49        $(ATROUSDIR)/filter.o\
50        $(ATROUSDIR)/atrous_1d_reconstruct.o\
51        $(ATROUSDIR)/atrous_2d_reconstruct.o\
52        $(ATROUSDIR)/atrous_3d_reconstruct.o\
53        $(ATROUSDIR)/baselineSubtract.o\
54        $(ATROUSDIR)/ReconSearch.o\
55        $(DETECTIONDIR)/detection.o\
56        $(DETECTIONDIR)/columns.o\
57        $(DETECTIONDIR)/areClose.o\
58        $(DETECTIONDIR)/growObject.o\
59        $(DETECTIONDIR)/lutz_detect.o\
60        $(DETECTIONDIR)/mergeIntoList.o\
61        $(DETECTIONDIR)/outputDetection.o\
62        $(DETECTIONDIR)/sorting.o\
63        $(DETECTIONDIR)/spectrumDetect.o\
64        $(CUBESDIR)/cubes.o\
65        $(CUBESDIR)/cubes_extended.o\
66        $(CUBESDIR)/plots.o\
67        $(CUBESDIR)/baseline.o\
68        $(CUBESDIR)/CubicSearch.o\
69        $(CUBESDIR)/detectionIO.o\
70        $(CUBESDIR)/drawMomentCutout.o\
71        $(CUBESDIR)/drawBlankEdges.o\
72        $(CUBESDIR)/getImage.o\
73        $(CUBESDIR)/invertCube.o\
74        $(CUBESDIR)/Merger.o\
75        $(CUBESDIR)/outputSpectra.o\
76        $(CUBESDIR)/plotting.o\
77        $(CUBESDIR)/readRecon.o\
78        $(CUBESDIR)/readSmooth.o\
79        $(CUBESDIR)/saveImage.o\
80        $(CUBESDIR)/smoothCube.o\
81        $(CUBESDIR)/trimImage.o\
82        $(FITSIODIR)/dataIO.o\
83        $(FITSIODIR)/headerIO.o\
84        $(FITSIODIR)/subsection.o\
85        $(FITSIODIR)/wcsIO.o\
86        $(UTILDIR)/Statistics.o\
87        $(UTILDIR)/feedback.o\
88        $(UTILDIR)/Hanning.o\
89        $(UTILDIR)/getStats.o\
90        $(UTILDIR)/get_random_spectrum.o\
91        $(UTILDIR)/linear_regression.o\
92        $(UTILDIR)/pgplot_related.o\
93        $(UTILDIR)/position_related.o\
94        $(UTILDIR)/sort.o\
95        $(UTILDIR)/wcsFunctions.o\
96        $(UTILDIR)/zscale.o
97
98duchamp : $(OBJECTS)
99        $(CXX) -o $(INSTALLDIR)/$(EXEC) $(OBJECTS) $(LIBS)
100
101createTestImage : $(TESTDIR)/createTestImage.o $(UTILDIR)/get_random_spectrum.o
102        $(CXX) -o createTestImage.x\
103        $(TESTDIR)/createTestImage.o $(UTILDIR)/get_random_spectrum.o\
104        $(CFITSIOLIB) @LIBS@
105
106$(OBJECTS) : $(HEADS)
107
108.cc.o:
109        $(CXX) -c $< $(CINC) -o $@
110
111.c.o:
112        $(CC) -c $< $(CINC) -o $@
113
114clean :
115        rm -f $(BASE)/*.o $(ATROUSDIR)/*.o $(CUBESDIR)/*.o $(FITSIODIR)/*.o $(DETECTIONDIR)/*.o $(UTILDIR)/*.o
Note: See TracBrowser for help on using the repository browser.