source: trunk/Makefile.in @ 201

Last change on this file since 201 was 201, checked in by Matthew Whiting, 18 years ago
  • New functionality added: ability to smooth a cube (in each individual spectrum) using a hanning filter before searching.
  • This comes with associated input parameters: flagSmooth and hanningWidth.
  • Hanning smoothing implemented via a new class that does the smoothing
  • Other minor changes:
    • changed the way getIAUName is called.
    • new colour names in mycpgplot
    • a << operator for the StatsContainer? class
    • more robust ProgressBar? functions
    • updated the Makefile.in
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)/saveImage.o\
75        $(CUBESDIR)/smoothCube.o\
76        $(CUBESDIR)/trimImage.o\
77        $(FITSIODIR)/dataIO.o\
78        $(FITSIODIR)/headerIO.o\
79        $(FITSIODIR)/subsection.o\
80        $(FITSIODIR)/wcsIO.o\
81        $(UTILDIR)/Statistics.o\
82        $(UTILDIR)/drawBlankEdges.o\
83        $(UTILDIR)/getStats.o\
84        $(UTILDIR)/get_random_spectrum.o\
85        $(UTILDIR)/linear_regression.o\
86        $(UTILDIR)/pgplot_related.o\
87        $(UTILDIR)/position_related.o\
88        $(UTILDIR)/sort.o\
89        $(UTILDIR)/wcsFunctions.o\
90        $(UTILDIR)/zscale.o
91
92duchamp : $(OBJECTS)
93        $(CXX) -o $(INSTALLDIR)/$(EXEC) $(OBJECTS) $(LIBS)
94
95createTestImage : $(TESTDIR)/createTestImage.o $(UTILDIR)/get_random_spectrum.o
96        $(CXX) -o createTestImage.x\
97        $(TESTDIR)/createTestImage.o $(UTILDIR)/get_random_spectrum.o\
98        $(CFITSIOLIB) @LIBS@
99
100$(OBJECTS) : $(HEADS)
101
102.cc.o:
103        $(CXX) -c $< $(CINC) -o $@
104
105.c.o:
106        $(CC) -c $< $(CINC) -o $@
107
108clean :
109        rm -f $(BASE)/*.o $(ATROUSDIR)/*.o $(CUBESDIR)/*.o $(FITSIODIR)/*.o $(DETECTIONDIR)/*.o $(UTILDIR)/*.o
Note: See TracBrowser for help on using the repository browser.