#Makefile for the V (SUN) version of Knuth's GfType program.
#This converts a gf font file into human readable form for debugging,

#include ../../buildprefix

.SUFFIXES: .b .c .p .s .u .web
OBJS=gftype.b
gftype: $(OBJS)
#ifdef X
	pc68 -r -vxV -o gftype $(OBJS) -lVgraphics
#else X
	pc68 -r -vV -o gftype $(OBJS) -lVgraphics
#endif X

gftype.p: gftype.web gftype.pc68
#This step also generates (an empty) gftype.pool
	tangle gftype.web gftype.pc68
gftype.b: gftype.p
	pc68 -c gftype.p
.c.b:
#ifdef X
	cc68 -c -V -vx $*.c
#else X
	cc68 -c -V $*.c
#endif X

clean:
	rm -f *.BAK *.CKP gftype gftype.p .emacs* *.b

install: gftype
	$(NETINSTALL) -p "gftype" $(VSYS)/bin



