source: trunk/Makefile.in @ 208

Last change on this file since 208 was 208, checked in by Matthew Whiting, 18 years ago
  • Enabled saving and reading in of a smoothed array, in manner directly analogous to that for the recon array.
    • New file : src/Cubes/readSmooth.cc
    • The other new functions go in existing files eg. saveImage.cc
    • Renamed some functions (like writeHeader...) to be more obvious what they do.
    • The reading in is taken care of by new function Cube::readSavedArrays() -- handles both smoothed and recon'd arrays.
    • Associated parameters in Param class
    • Clarified names of FITS header strings in duchamp.hh.
  • Updated the documentation to describe the ability to smooth a cube.
  • Added description of feedback mechanisms in the Install appendix.
  • Also, Hanning class improved to guard against memory leaks.


File size: 2.5 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        $(DETECTIONDIR)/detection.hh\
39        $(DETECTIONDIR)/columns.hh\
40        $(CUBESDIR)/cubes.hh\
41        $(CUBESDIR)/plots.hh\
42        $(UTILDIR)/Statistics.hh\
43        $(UTILDIR)/utils.hh
44
45OBJECTS = $(BASE)/mainDuchamp.o \
46        $(BASE)/duchamp.o\
47        $(BASE)/param.o\
48        $(ATROUSDIR)/atrous.o\
49        $(ATROUSDIR)/atrous_1d_reconstruct.o\
50        $(ATROUSDIR)/atrous_2d_reconstruct.o\
51        $(ATROUSDIR)/atrous_3d_reconstruct.o\
52        $(ATROUSDIR)/baselineSubtract.o\
53        $(ATROUSDIR)/ReconSearch.o\
54        $(DETECTIONDIR)/detection.o\
55        $(DETECTIONDIR)/columns.o\
56        $(DETECTIONDIR)/areClose.o\
57        $(DETECTIONDIR)/growObject.o\
58        $(DETECTIONDIR)/lutz_detect.o\
59        $(DETECTIONDIR)/mergeIntoList.o\
60        $(DETECTIONDIR)/outputDetection.o\
61        $(DETECTIONDIR)/sorting.o\
62        $(DETECTIONDIR)/spectrumDetect.o\
63        $(CUBESDIR)/cubes.o\
64        $(CUBESDIR)/baseline.o\
65        $(CUBESDIR)/CubicSearch.o\
66        $(CUBESDIR)/detectionIO.o\
67        $(CUBESDIR)/drawMomentCutout.o\
68        $(CUBESDIR)/getImage.o\
69        $(CUBESDIR)/invertCube.o\
70        $(CUBESDIR)/Merger.o\
71        $(CUBESDIR)/outputSpectra.o\
72        $(CUBESDIR)/plotting.o\
73        $(CUBESDIR)/readRecon.o\
74        $(CUBESDIR)/readSmooth.o\
75        $(CUBESDIR)/saveImage.o\
76        $(CUBESDIR)/smoothCube.o\
77        $(CUBESDIR)/trimImage.o\
78        $(FITSIODIR)/dataIO.o\
79        $(FITSIODIR)/headerIO.o\
80        $(FITSIODIR)/subsection.o\
81        $(FITSIODIR)/wcsIO.o\
82        $(UTILDIR)/Statistics.o\
83        $(UTILDIR)/drawBlankEdges.o\
84        $(UTILDIR)/getStats.o\
85        $(UTILDIR)/get_random_spectrum.o\
86        $(UTILDIR)/linear_regression.o\
87        $(UTILDIR)/pgplot_related.o\
88        $(UTILDIR)/position_related.o\
89        $(UTILDIR)/sort.o\
90        $(UTILDIR)/wcsFunctions.o\
91        $(UTILDIR)/zscale.o
92
93duchamp : $(OBJECTS)
94        $(CXX) -o $(INSTALLDIR)/$(EXEC) $(OBJECTS) $(LIBS)
95
96createTestImage : $(TESTDIR)/createTestImage.o $(UTILDIR)/get_random_spectrum.o
97        $(CXX) -o createTestImage.x\
98        $(TESTDIR)/createTestImage.o $(UTILDIR)/get_random_spectrum.o\
99        $(CFITSIOLIB) @LIBS@
100
101$(OBJECTS) : $(HEADS)
102
103.cc.o:
104        $(CXX) -c $< $(CINC) -o $@
105
106.c.o:
107        $(CC) -c $< $(CINC) -o $@
108
109clean :
110        rm -f $(BASE)/*.o $(ATROUSDIR)/*.o $(CUBESDIR)/*.o $(FITSIODIR)/*.o $(DETECTIONDIR)/*.o $(UTILDIR)/*.o
Note: See TracBrowser for help on using the repository browser.