BUILDPCH = ../tools/buildpch sysheaders = boot.8xv \ boot84.8xv \ display.8xv \ edit.8xv \ extra.8xv \ flash.8xv \ graph.8xv \ gui.8xv \ hooks.8xv \ link.8xv \ math.8xv \ mon.8xv \ os110.8xv \ os113.8xv \ os115.8xv \ os221.8xv \ os230.8xv \ os240.8xv \ parser.8xv \ vars.8xv libheaders = ion.8xv \ mirage.8xv \ dcs7.8xv all: $(sysheaders) $(libheaders) boot.8xv: boot.inc $(BUILDPCH) boot.inc -o boot.8xv -n 'Boot.h' boot84.8xv: boot84.inc $(BUILDPCH) boot84.inc -o boot84.8xv -n 'Boot84.h' display.8xv: display.inc $(BUILDPCH) display.inc -o display.8xv -n 'Disp.h' edit.8xv: edit.inc $(BUILDPCH) edit.inc -o edit.8xv -n 'Edit.h' extra.8xv: extra.inc $(BUILDPCH) extra.inc -o extra.8xv -n 'Extra.h' flash.8xv: flash.inc $(BUILDPCH) flash.inc -o flash.8xv -n 'Flash.h' graph.8xv: graph.inc $(BUILDPCH) graph.inc -o graph.8xv -n 'Graph.h' gui.8xv: gui.inc $(BUILDPCH) gui.inc -o gui.8xv -n 'Gui.h' hooks.8xv: hooks.inc $(BUILDPCH) hooks.inc -o hooks.8xv -n 'Hooks.h' link.8xv: link.inc $(BUILDPCH) link.inc -o link.8xv -n 'Link.h' math.8xv: math.inc $(BUILDPCH) math.inc -o math.8xv -n 'Math.h' mon.8xv: mon.inc $(BUILDPCH) mon.inc -o mon.8xv -n 'Mon.h' os110.8xv: os110.inc $(BUILDPCH) os110.inc -o os110.8xv -n 'OS110.h' os113.8xv: os113.inc $(BUILDPCH) os113.inc -o os113.8xv -n 'OS113.h' os115.8xv: os115.inc $(BUILDPCH) os115.inc -o os115.8xv -n 'OS115.h' os221.8xv: os221.inc $(BUILDPCH) os221.inc -o os221.8xv -n 'OS221.h' os230.8xv: os230.inc $(BUILDPCH) os230.inc -o os230.8xv -n 'OS230.h' os240.8xv: os240.inc $(BUILDPCH) os240.inc -o os240.8xv -n 'OS240.h' parser.8xv: parser.inc $(BUILDPCH) parser.inc -o parser.8xv -n 'Parser.h' vars.8xv: vars.inc $(BUILDPCH) vars.inc -o vars.8xv -n 'Vars.h' ion.8xv: ion.inc $(BUILDPCH) ion.inc -o ion.8xv -n 'Ion.h' mirage.8xv: mirage.inc $(BUILDPCH) mirage.inc -o mirage.8xv -n 'Mirage.h' dcs7.8xv: dcs7.inc $(BUILDPCH) dcs7.inc -o dcs7.8xv -n 'DCS7.h' clean: rm -f *.8xv .PHONY: clean all