# Makefile for xbgsun & xviewsun/xsee
#
# jim frost 12.19.88
#
# -DPATH should indicate the local image directory if one exists.
# -DSUFFIX indicates a default suffix for images if desired.  if
# images are compressed, the suffix should NOT include the .Z since .Z
# is automatically appended if no uncompressed file is found.
#
# Makefile for xviewsun a.k.a. xsee
#
COPTS= -g
CFLAGS= ${COPTS} $(OPTIONS)
LDFLAGS=
LIBS= -lX11

xsee:	common.o $$@.o
	$(CC) $(LDFLAGS) -o $@ $(CFLAGS) $@.o common.o $(LIBS)

common.o: common.h

xbgsun: common.o $$@.o
	$(CC) $(LDFLAGS) -o $@ $(CFLAGS) $@.o common.o $(LIBS)


clean:
	rm -f xsee xsee.o xbgsun xbgsun.o common.o

tar:
	@tar cf - `cat FILES`
