#!/usr/sbin/pmake -v
###################################################################
#
#	Tippy-top-level Makefile for HP/GL utilities
#
###################################################################
OPTIMIZER = -O2
COMP	= -xansi

default:
	cd hpgl2ps	; make OPTIMIZER=${OPTIMIZER} COMP=${COMP}
	cd hpgl2scr	; make OPTIMIZER=${OPTIMIZER} COMP=${COMP}
	cd xhpgl	; make OPTIMIZER=${OPTIMIZER} COMP=${COMP}

install:
	cd hpgl2ps	; make OPTIMIZER=${OPTIMIZER} COMP=${COMP} install
	cd hpgl2scr	; make OPTIMIZER=${OPTIMIZER} COMP=${COMP} install
	cd xhpgl	; make OPTIMIZER=${OPTIMIZER} COMP=${COMP} install

clean:
	cd hpgl2ps	; make clean
	cd hpgl2scr	; make clean
	cd xhpgl	; make clean
