# Makefile for OpenVMS
# Date : 11 November 2008

gb12345.exe : gb12345.obj [-.fontforge]lff.opt
	@ WRITE_ SYS$OUTPUT "  generating gb12345.opt"
	@ OPEN_/WRITE FILE  gb12345.opt
	@ WRITE_ FILE "!"
	@ WRITE_ FILE "! gb12345.opt generated by DESCRIP.$(MMS_EXT)" 
	@ WRITE_ FILE "!"
	@ WRITE_ FILE "IDENTIFICATION=""gb12345"""
	@ WRITE_ FILE "GSMATCH=LEQUAL,1,0
	@ WRITE_ FILE "gb12345.obj"
	@ CLOSE_ FILE
	@ $(MMS)$(MMSQUALIFIERS)/ignore=warning gb12345_vms
	@ WRITE_ SYS$OUTPUT "  linking gb12345.exe ..."
	@ LINK_/NODEB/SHARE=gb12345.exe/MAP=gb12345.map/FULL gb12345.opt/opt,\
	gb12345_vms.opt/opt,[-.fontforge]lff.opt/opt

gb12345_vms :
	@ WRITE_ SYS$OUTPUT "  generating gb12345.map ..."
	@ LINK_/NODEB/NOSHARE/NOEXE/MAP=gb12345.map/FULL gb12345.opt/OPT
	@ WRITE_ SYS$OUTPUT "  analyzing gb12345.map ..."
	@ @ANALYZE_MAP.COM gb12345.map gb12345_vms.opt

gb12345.obj : gb12345.c [-.inc]fontforge-config.h
