| Line | |
|---|
| 1 | ifeq ($(HOSTTYPE), alpha)
|
|---|
| 2 | CXX = cxx
|
|---|
| 3 | endif
|
|---|
| 4 | ifndef CFITSIODIR
|
|---|
| 5 | CFITSIODIR = ../cfitsio
|
|---|
| 6 | endif
|
|---|
| 7 | CPPFLAGS =-O -g -I$(CFITSIODIR) -DANSI
|
|---|
| 8 |
|
|---|
| 9 | LDLIBS=-L$(CFITSIODIR)/$(HOSTTYPE) -lcfitsio
|
|---|
| 10 |
|
|---|
| 11 | ifdef NOSHLIB
|
|---|
| 12 | ifeq ($(CXX), g++)
|
|---|
| 13 | LDFLAGS = -static
|
|---|
| 14 | endif
|
|---|
| 15 | ifeq ($(CXX), cxx)
|
|---|
| 16 | LDFLAGS = -non_shared
|
|---|
| 17 | endif
|
|---|
| 18 | endif
|
|---|
| 19 |
|
|---|
| 20 | default: archtoi
|
|---|
| 21 |
|
|---|
| 22 | clean:
|
|---|
| 23 | rm -f archtoi *.o
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | archtoi: archtoimain.o archtoi.o archeopsfile.o archfileset.o \
|
|---|
| 27 | archeops.o decompress.o arcunit.o \
|
|---|
| 28 | tokenizer.o \
|
|---|
| 29 | toi.o toiiter.o toimanager.o toiproducer.o \
|
|---|
| 30 | toiabsorber.o toiderivproducer.o toipullproducer.o \
|
|---|
| 31 | toirepeater.o toiflagger.o toiinterpolator.o \
|
|---|
| 32 | toillboloproducer.o toilldiluproducer.o \
|
|---|
| 33 | toillgpsproducer.o toillgyroproducer.o toillreglageproducer.o \
|
|---|
| 34 | toillsstproducer.o \
|
|---|
| 35 | gpsparser.o asigps.o toiauxgpsproducer.o toiboloproducer.o \
|
|---|
| 36 | auxinterpgps.o tsid.o archparam.o dyffttools.o fft_mayer.o \
|
|---|
| 37 | formepulse.o pisteetoile.o sstetoile.o transfelec.o \
|
|---|
| 38 | aa_hadec.o templocator.o plgalcross.o \
|
|---|
| 39 | tsidproducer.o timetoiproducer.o sststarfinder.o \
|
|---|
| 40 | starmatcher.o galcrosslocator.o gyrocalibrator.o \
|
|---|
| 41 | rotspeed.o gondolageom.o \
|
|---|
| 42 | nrutil.o lfit.o gaussj.o covsrt.o
|
|---|
| 43 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.