Line | |
---|
1 | ifeq ($(HOSTTYPE), alpha)
|
---|
2 | CXX = cxx
|
---|
3 | endif
|
---|
4 | ifndef (CFITSIODIR)
|
---|
5 | CFITSIODIR = ../cfitsio
|
---|
6 | endif
|
---|
7 | CPPFLAGS =-O -g -I$(CFITSIODIR)
|
---|
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 archdump
|
---|
24 |
|
---|
25 |
|
---|
26 | archtoi: archtoimain.o archtoi.o archeopsfile.o decompress.o toiiter.o toisvr.o archeops.o \
|
---|
27 | ssthandler.o toiinterpolator.o gpsparser.o asigps.o \
|
---|
28 | auxinterpgps.o tsid.o archparam.o dyffttools.o fft_mayer.o \
|
---|
29 | formepulse.o pisteetoile.o sstetoile.o transfelec.o \
|
---|
30 | gyrohandler.o aa_hadec.o templocator.o plgalcross.o \
|
---|
31 | arcunit.o
|
---|
32 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm
|
---|
33 | archdump: archtoidump.o archeopsfile.o decompress.o archeops.o ssthandler.o
|
---|
34 | $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.