# make all	creates all executables for the programs in this directory
# make clean	removes all temporary files.

CFLAGS = -O -I/vol/X11/include
INCS =
XVIEWLIBS = -lxview -lolgx

all:
	@echo "You must specify    make x11   or   make xview"

x11: xquinto_x11.o
	cc ${CFLAGS} -o xquinto xquinto_x11.o -lX11 

xview: xquinto_xview.o
	cc ${CFLAGS} -o xquinto xquinto_xview.o -lX11 ${XVIEWLIBS}

xquinto_xview.o: xquinto_xview.c
	cc -c ${INCS} ${CFLAGS} xquinto_xview.c

xquinto_x11: xquinto_x11.c
	cc -c ${INCS} ${CFLAGS} xquinto_x11.c

tar:	
	tar cvf xquinto.tar Makefile xquinto.1 xquinto_x11.c\
		xquinto_xview.c copyright.h gray.xbm white.xbm
clean:
	rm -f *.o

