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