ifeq ($(HOSTTYPE), alpha) CXX = cxx endif ifndef CFITSIODIR CFITSIODIR = ../cfitsio endif MACHEROS := $(shell echo `uname`) MACHDIR := $(MACHEROS)-$(CXX) CPPFLAGS =-O -g -I$(CFITSIODIR) -DANSI LDLIBS=-L$(CFITSIODIR)/$(MACHDIR) -lcfitsio ifdef NOSHLIB ifeq ($(CXX), g++) LDFLAGS = -static endif ifeq ($(CXX), cxx) LDFLAGS = -non_shared endif endif default: archtoi clean: rm -f archtoi *.o archtoi: archtoimain.o archtoi.o archeopsfile.o archfileset.o \ archeops.o decompress.o arcunit.o \ tokenizer.o \ toi.o toiiter.o toimanager.o toiproducer.o \ toiabsorber.o toiderivproducer.o toipullproducer.o \ toirepeater.o toiflagger.o toiinterpolator.o \ toillboloproducer.o toilldiluproducer.o \ toillgpsproducer.o toillgyroproducer.o toillreglageproducer.o \ toillsstproducer.o \ gpsparser.o asigps.o toiauxgpsproducer.o toiboloproducer.o \ auxinterpgps.o tsid.o archparam.o dyffttools.o fft_mayer.o \ formepulse.o pisteetoile.o sstetoile.o transfelec.o \ aa_hadec.o templocator.o plgalcross.o \ tsidproducer.o timetoiproducer.o sststarfinder.o \ starmatcher.o galcrosslocator.o gyrocalibrator.o \ rotspeed.o gondolageom.o \ nrutil.o lfit.o gaussj.o covsrt.o polfitclip.o $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm