1 | ##################################################################
|
---|
2 | #
|
---|
3 | # makefile
|
---|
4 | #
|
---|
5 | # for the MARS software
|
---|
6 | #
|
---|
7 | ##################################################################
|
---|
8 | # @maintitle
|
---|
9 |
|
---|
10 | # @code
|
---|
11 |
|
---|
12 | #
|
---|
13 | # please change all system depend values in the
|
---|
14 | # config.mk.${OSTYPE} file
|
---|
15 | #
|
---|
16 | #
|
---|
17 | include ../Makefile.conf.$(OSTYPE)
|
---|
18 | include ../Makefile.conf.general
|
---|
19 |
|
---|
20 | # @endcode
|
---|
21 |
|
---|
22 | INCLUDES = -I. -I..
|
---|
23 |
|
---|
24 | # @code
|
---|
25 |
|
---|
26 | CINT = Slalib
|
---|
27 | LIB = slalib.a
|
---|
28 |
|
---|
29 | #------------------------------------------------------------------------------
|
---|
30 |
|
---|
31 | .SUFFIXES: .c .cc .cxx .h .hxx .c
|
---|
32 |
|
---|
33 | SRCFILES = \
|
---|
34 | daf2r.c gmst.c mappa.c aoppa.c oapqk.c ampqk.c mapqkz.c \
|
---|
35 | dr2af.c dcs2c.c dimxv.c dvdv.c dvn.c dcc2s.c dranrm.c \
|
---|
36 | geoc.c refco.c eqeqx.c aoppat.c dd2tf.c epj.c prenut.c \
|
---|
37 | nutc.c dmxv.c refro.c prec.c nut.c dmxm.c evp.c \
|
---|
38 | drange.c deuler.c cldj.c aopqk.c refz.c dh2e.c de2h.c \
|
---|
39 | dt.c dmoon.c planet.c planel.c el2ue.c ue2pv.c pv2ue.c \
|
---|
40 | altaz.c rdplan.c pvobs.c dtt.c dat.c rcc.c
|
---|
41 | # addet.c
|
---|
42 | # afin.c airmas.c altaz.c amp.c \
|
---|
43 | # ampqk.c aop.c aoppa.c aoppat.c aopqk.c atmdsp.c \
|
---|
44 | # av2m.c bear.c caf2r.c caldj.c calyd.c cc2s.c \
|
---|
45 | # cc62s.c cd2tf.c cldj.c clyd.c combn.c cr2af.c cr2tf.c \
|
---|
46 | # cs2c.c cs2c6.c ctf2d.c ctf2r.c daf2r.c dafin.c \
|
---|
47 | # dat.c dav2m.c dbear.c dbjin.c dc62s.c dcc2s.c \
|
---|
48 | # dcmpf.c dcs2c.c dd2tf.c de2h.c deuler.c dfltin.c \
|
---|
49 | # dh2e.c dimxv.c djcal.c djcl.c dm2av.c dmat.c \
|
---|
50 | # dmoon.c dmxm.c dmxv.c dpav.c dr2af.c dr2tf.c \
|
---|
51 | # drange.c dranrm.c ds2c6.c ds2tp.c dsep.c dt.c \
|
---|
52 | # dtf2d.c dtf2r.c dtp2s.c dtp2v.c dtps2c.c dtpv2c.c \
|
---|
53 | # dtt.c dv2tp.c dvdv.c dvn.c dvxv.c e2h.c earth.c \
|
---|
54 | # ecleq.c ecmat.c ecor.c eg50.c el2ue.c epb.c \
|
---|
55 | # epb2d.c epco.c epj.c epj2d.c eqecl.c eqeqx.c \
|
---|
56 | # eqgal.c etrms.c euler.c evp.c fitxy.c fk425.c \
|
---|
57 | # fk45z.c fk524.c fk52h.c fk54z.c fk5hz.c flotin.c \
|
---|
58 | # galeq.c galsup.c ge50.c geoc.c gmst.c gmsta.c \
|
---|
59 | # h2e.c h2fk5.c hfk5z.c imxv.c intin.c invf.c \
|
---|
60 | # kbj.c m2av.c map.c mappa.c mapqk.c mapqkz.c \
|
---|
61 | # moon.c mxm.c mxv.c nut.c nutc.c oap.c oapqk.c \
|
---|
62 | # obs.c pa.c pav.c pcd.c pda2h.c pdq2h.c permut.c \
|
---|
63 | # pertel.c pertue.c planel.c planet.c plante.c pm.c \
|
---|
64 | # polmo.c prebn.c prec.c precl.c preces.c prenut.c \
|
---|
65 | # pvobs.c pv2el.c pv2ue.c pxy.c range.c ranorm.c \
|
---|
66 | # rcc.c rdplan.c refco.c refcoq.c refro.c refv.c \
|
---|
67 | # refz.c rverot.c rvgalc.c rvlg.c rvlsrd.c rvlsrk.c \
|
---|
68 | # s2tp.c sep.c smat.c subet.c supgal.c \
|
---|
69 | # svd.c svdcov.c svdsol.c tp2s.c tp2v.c tps2c.c \
|
---|
70 | # tpv2c.c ue2el.c ue2pv.c unpcd.c v2tp.c vdv.c \
|
---|
71 | # vn.c vxv.c xy2xy.c zd.c
|
---|
72 |
|
---|
73 | SRCS = $(SRCFILES)
|
---|
74 | HEADERS = $(SRCFILES)
|
---|
75 | #:.c=.h)
|
---|
76 | OBJS = $(SRCFILES:.c=.o)
|
---|
77 |
|
---|
78 | ############################################################
|
---|
79 |
|
---|
80 | all: $(LIB)
|
---|
81 |
|
---|
82 | include ../Makefile.rules
|
---|
83 |
|
---|
84 | clean: rmlib rmcint rmobjs rmcore
|
---|
85 |
|
---|
86 | mrproper: clean rmbak
|
---|
87 |
|
---|
88 | # @endcode
|
---|
89 |
|
---|