# Makefile for the basic astronomy routines. # The idea is to compile and archive them into libastro.a # use these two lines instead if you do not have gcc: # CC = cc # CFLAGS = -O CC = gcc CFLAGS= -O2 -ffast-math -Wall OBJS = \ aa_hadec.o \ aberration.o \ actan.o \ airmass.o \ anomaly.o \ ap_as.o \ auxil.o \ chap95.o \ chap95_data.o \ circum.o \ comet.o \ dbfmt.o \ deep.o \ deltat.o \ earthsat.o \ eq_ecl.o \ eq_gal.o \ formats.o \ helio.o \ libration.o \ misc.o \ mjd.o \ moon.o \ mooncolong.o \ nutation.o \ obliq.o \ parallax.o \ plans.o \ precess.o \ reduce.o \ refract.o \ riset.o \ riset_cir.o \ sdp4.o \ sgp4.o \ sphcart.o \ sun.o \ thetag.o \ utc_gst.o \ vsop87.o \ vsop87_data.o libastro.a: $(OBJS) ar rv $@ $? libastro.so: $(OBJS) gcc -shared -o $@ $(OBJS) clobber: rm -f *.o libastro.a # For RCS Only -- Do Not Edit # @(#) $RCSfile: Makefile.smple,v $ $Date: 2000/09/29 21:56:34 $ $Revision: 1.9 $ $Name: $