IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2004, 3:38:05 PM (22 years ago)
Author:
Paul Price
Message:

Working, but not getting faint CRs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/Makefile

    r2500 r2661  
    11SHELL = /bin/sh
    22CC = gcc
    3 CFLAGS = -O2 -g -std=c99 -I/home/mithrandir/price/psLib3/psLib/include # -DTESTING
    4 PSLIB = -L/home/mithrandir/price/psLib3/psLib/lib/ -lpslib -lgsl -lgslcblas -lfftw3f -lsla -lcfitsio -lm
    5 LDFLAGS = $(PSLIB)
     3CFLAGS += -O2 -g -std=c99 -I/home/mithrandir/price/psLib3/psLib/include -DTESTING -DCRFLUX
     4PSLIB += -L/home/mithrandir/price/psLib3/psLib/lib/ -lpslib -lgsl -lgslcblas -lfftw3f -lsla -lcfitsio -lm
     5LDFLAGS += $(PSLIB)
    66
    77OBJECTS = stac.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
     
    1818                $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS) $(OPTFLAGS)
    1919
     20calcGrad:       calcGrad.o
     21                $(CC) $(CFLAGS) -o $@ calcGrad.o $(LDFLAGS) $(OPTFLAGS)
     22
    2023clean:
    2124                -$(RM) *.o gmon.* profile.txt
     
    2730                -$(RM) testout.fits
    2831                -$(RM) testout.fits.pre
     32                -$(RM) chi2_*.fits
    2933                -$(RM) test_[0-3].fits.err
    3034                -$(RM) test_[0-3].fits.mask
    31                 -$(RM) test_[0-3].fits.shift.?
     35                -$(RM) test_[0-3].fits.shift.*
    3236                -$(RM) test_[0-3].fits.shiftrej
    3337                -$(RM) test_[0-3].fits.shifterr.*
    3438                -$(RM) leaks.dat
    35                 ./stac -v testout.fits test_0.fits test_1.fits test_2.fits test_3.fits
     39                ./stac -v -k 2.5 -f 0.3 -G 0.6 testout.fits test_0.fits test_1.fits test_2.fits test_3.fits
    3640
    3741# Run profiling.
     
    4953optimise:       clean
    5054                -$(RM) $(TARGET)
    51                 export OPTFLAGS=-fprofile-arcs ; $(MAKE) test
     55                export OPTFLAGS=-fprofile-generate ; $(MAKE) test
    5256                -$(RM) $(TARGET)
    5357                $(MAKE) clean
    54                 export OPTFLAGS=-fbranch-probabilities ; $(MAKE) $(TARGET)
     58                export OPTFLAGS=-fbranch-use ; $(MAKE) $(TARGET)
    5559                -$(RM) *.da
    5660
Note: See TracChangeset for help on using the changeset viewer.