##
## Makefile for xyview
##

include ../Make.var

############################################################
##
##  XYVIEW
##
##  Compile-time Options:
##      -DTITLEBAR      defines the string that goes into the window stripe
##      -DVERSION       defines the string that describes the version
##      -DDEBUG         causes verbose operation

SUNLIBS      =   -lsuntool -lsunwindow -lpixrect

xyview:     xyview.o ugparse.o
	$(CC) $(LDFLAGS) -o $@ $@.o ugparse.o $(SUNLIBS) -lm

xyview.o:   xyview.c xyview.h
	$(CC) -c $(CFLAGS) -DDEBUG=0 -DVERSION="\"[Compiled: `date`]\""  xyview.c

install: xyview
	test -d $(DBIN) 
	$(CONNECT) xyview $(DBIN)/xyview	

deinstall:
	-/bin/rm -f $(DBIN)/xyview	

clean:
	/bin/rm -f *~ *.o xyview

##
















