Changeset 2661 for trunk/stac/src/Makefile
- Timestamp:
- Dec 7, 2004, 3:38:05 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/Makefile
r2500 r2661 1 1 SHELL = /bin/sh 2 2 CC = gcc 3 CFLAGS = -O2 -g -std=c99 -I/home/mithrandir/price/psLib3/psLib/include # -DTESTING4 PSLIB = -L/home/mithrandir/price/psLib3/psLib/lib/ -lpslib -lgsl -lgslcblas -lfftw3f -lsla -lcfitsio -lm5 LDFLAGS = $(PSLIB)3 CFLAGS += -O2 -g -std=c99 -I/home/mithrandir/price/psLib3/psLib/include -DTESTING -DCRFLUX 4 PSLIB += -L/home/mithrandir/price/psLib3/psLib/lib/ -lpslib -lgsl -lgslcblas -lfftw3f -lsla -lcfitsio -lm 5 LDFLAGS += $(PSLIB) 6 6 7 7 OBJECTS = stac.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \ … … 18 18 $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS) $(OPTFLAGS) 19 19 20 calcGrad: calcGrad.o 21 $(CC) $(CFLAGS) -o $@ calcGrad.o $(LDFLAGS) $(OPTFLAGS) 22 20 23 clean: 21 24 -$(RM) *.o gmon.* profile.txt … … 27 30 -$(RM) testout.fits 28 31 -$(RM) testout.fits.pre 32 -$(RM) chi2_*.fits 29 33 -$(RM) test_[0-3].fits.err 30 34 -$(RM) test_[0-3].fits.mask 31 -$(RM) test_[0-3].fits.shift. ?35 -$(RM) test_[0-3].fits.shift.* 32 36 -$(RM) test_[0-3].fits.shiftrej 33 37 -$(RM) test_[0-3].fits.shifterr.* 34 38 -$(RM) leaks.dat 35 ./stac -v testout.fits test_0.fits test_1.fits test_2.fits test_3.fits39 ./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 36 40 37 41 # Run profiling. … … 49 53 optimise: clean 50 54 -$(RM) $(TARGET) 51 export OPTFLAGS=-fprofile- arcs; $(MAKE) test55 export OPTFLAGS=-fprofile-generate ; $(MAKE) test 52 56 -$(RM) $(TARGET) 53 57 $(MAKE) clean 54 export OPTFLAGS=-fbranch- probabilities; $(MAKE) $(TARGET)58 export OPTFLAGS=-fbranch-use ; $(MAKE) $(TARGET) 55 59 -$(RM) *.da 56 60
Note:
See TracChangeset
for help on using the changeset viewer.
