##  $Id: Makefile,v 1.5 2000/04/08 04:33:25 rra Exp $

include ../../Makefile.global

CP	= $(UPLIBTOOL) cp

CFLAGS	= $(GCFLAGS) -I../../include -I..

SOURCES = ov3.c
OBJECTS = ov3.o
LOBJECTS = ov3.lo
ROBJECTS = ov3.$(EXTOBJ)

all:			$(OBJECTS) moveobjs

.c.o:
	$(UPLIBCC) $(CFLAGS) -c $*.c -o $@

moveobjs: $(OBJECTS)
	$(CP) -p $(ROBJECTS) ../objs

clobber clean:
	rm -f *.o *.lo obj/*.o
	rm -f profiled
	rm -f all install lint lint.all
	rm -rf .libs

tags ctags:	$(SOURCES)
	$(CTAGS) $(SOURCES) ../../include/*.h ../*.h

##  Dependencies.  Default list, below, is probably good enough.

depend:	Makefile $(SOURCES)
	$(UPMAKEDEPEND) $(CFLAGS) $(SOURCES)

# DO NOT DELETE THIS LINE -- make depend depends on it.
ov3.o: ov3.c ../../include/config.h ../../include/clibrary.h \
 ../../include/libinn.h ../../include/macros.h ../../include/ov.h \
 ../../include/storage.h ../../include/paths.h ../../include/qio.h \
 ../ovinterface.h tradindexed.h
