Rev | Line | |
---|
[430] | 1 | ifeq ($(HOSTTYPE), alpha)
|
---|
| 2 | CXX = cxx
|
---|
| 3 | endif
|
---|
[555] | 4 | ifndef CFITSIODIR
|
---|
[430] | 5 | CFITSIODIR = ../cfitsio
|
---|
| 6 | endif
|
---|
[555] | 7 | CPPFLAGS =-O -g -I$(CFITSIODIR) -DANSI
|
---|
[430] | 8 |
|
---|
| 9 | LDLIBS=-L$(CFITSIODIR)/$(HOSTTYPE) -lcfitsio
|
---|
| 10 |
|
---|
[443] | 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 |
|
---|
[430] | 20 | default: archtoi
|
---|
| 21 |
|
---|
| 22 | clean:
|
---|
[555] | 23 | rm -f archtoi *.o
|
---|
[430] | 24 |
|
---|
| 25 |
|
---|
[555] | 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 \
|
---|
[430] | 36 | auxinterpgps.o tsid.o archparam.o dyffttools.o fft_mayer.o \
|
---|
| 37 | formepulse.o pisteetoile.o sstetoile.o transfelec.o \
|
---|
[555] | 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
|
---|
[430] | 43 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm
|
---|
| 44 |
|
---|
[555] | 45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.