# $Name $Revision: 1.4 $ $Date: 1997/08/17 15:47:29 $

LIB=libcoords.a 
DLIB=$(LIB:.a=$(DSUFFIX))

INCLUDE=coords.h coords.i csstime.h 

DATA=srnames.fer
DATADIR=regions


MAN3= \
    grnumber.3 \
    grnumber.3f \
    angles.3 \
    dist.3 \
    dist.3f \
    epoch.3 \
    epoch.3f \
    euler.3 \
    km2deg.3 \
    matrices.3 \
    now.3 \
    rotations.3 \
    sph.3 \
    time_conversion.3 \
    time_conversion.3f \
    time_util.3 \
    vectors.3 \
    wait_for_time.3 \
    xyztortp.3 

cflags = -g

DSAPMAKE = /opt/dsap/3.4/DSAPMAKE
include $(DSAPMAKE)
DIRS=regions

OBJS= \
	butwth.o \
	carsph.o \
	dcarsph.o \
	deatom.o \
	dist.o \
	dlat.o \
	dlng.o \
	dmtoea.o \
	dr3norm.o \
	drotmat.o \
	dsphcar.o \
	eatom.o \
	epoch.o \
	epoch_.o \
	gcang.o \
	grname.o \
	grnumber.o \
	grsr_.o \
	h2e.o \
	htoe_.o \
	mtoea.o \
	normradecdeg.o \
	now.o \
	r3.o \
	rotate.o \
	rotmat.o \
	sphcar.o \
	srname.o \
	srnumber.o \
	str2epoch.o \
	taper.o \
	time.o \
	time_util.o \
	todays_date.o \
	wait_for_time.o 

$(LIB) :  $(OBJS)
	$(AR) $(ARFLAGS) $@ $(LORDER) $(OBJS) $(TSORT)
	$(RANLIB) $@

$(DLIB) : $(OBJS)
	$(DLD) $(DLDFLAGS) -o $@ $(LORDER) $(OBJS) $(TSORT)

str2epoch.c : str2epoch.l
	$(LEX) -i -t $*.l > $@
	fix_yacclex EP $@


# $Id: Makefile,v 1.4 1997/08/17 15:47:29 danq Exp $ 
# DO NOT DELETE
