# 
# buildtemplate for "show", a DVI/Press viewer for V
# 

OBJS=show.$(OBJSUFFIX) dvisun.$(OBJSUFFIX) \
	press.$(OBJSUFFIX) fonts.$(OBJSUFFIX) bcpl.$(OBJSUFFIX)

show.$(MACHINE): $(OBJS)
	$(CC) $(MIFLAGS) $(MDFLAGS) -f -o show.$(MACHINE) $(OBJS) -lpcfc -lpcV

install: show.$(MACHINE) 
	$(NETINSTALL) -p show.$(MACHINE) $(VSYS)/bin

clean: 
	rm -f *BAK *CKP .emacs* sym.out *.b show.$(MACHINE) core
cleanall: clean
	rm -f show.p
cleanbak:
	rm -f *BAK *CKP .emacs* sym.out *.s core

backup:
	cd ..; cpdir show ../../Vbackup/cmds/show

tags:
	ctags $(SOURCES)
