Line | |
---|
1 | ifeq ($(HOSTTYPE), alpha)
|
---|
2 | CXX = cxx
|
---|
3 | endif
|
---|
4 | ifndef CFITSIODIR
|
---|
5 | CFITSIODIR = ../cfitsio
|
---|
6 | endif
|
---|
7 |
|
---|
8 | MACHEROS := $(shell echo `uname`)
|
---|
9 | MACHDIR := $(MACHEROS)-$(CXX)
|
---|
10 |
|
---|
11 | CPPFLAGS =-O -g -I$(CFITSIODIR) -DANSI
|
---|
12 |
|
---|
13 | LDLIBS=-L$(CFITSIODIR)/$(MACHDIR) -lcfitsio
|
---|
14 |
|
---|
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 |
|
---|
24 | default: archtoi
|
---|
25 |
|
---|
26 | clean:
|
---|
27 | rm -f archtoi *.o
|
---|
28 |
|
---|
29 |
|
---|
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 \
|
---|
40 | auxinterpgps.o tsid.o archparam.o dyffttools.o fft_mayer.o \
|
---|
41 | formepulse.o pisteetoile.o sstetoile.o transfelec.o \
|
---|
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 \
|
---|
46 | nrutil.o lfit.o gaussj.o covsrt.o polfitclip.o
|
---|
47 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm
|
---|
48 |
|
---|
49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.