XCOMM $XConsortium: Imakefile,v 1.5 91/07/19 19:52:45 rws Exp $
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

all: PHIGSerr.txt PHIGSfnc.txt phigsmon

LinkSourceFile(phigsmon,../cp)

../cp/phigsmon: FRC
	@cd ../cp; echo "making phigsmon in ../cp..."; \
	$(MAKE) $(MFLAGS) PassCDebugFlags phigsmon

LinkSourceFile(PHIGSerr.txt,../include)
LinkSourceFile(PHIGSfnc.txt,../include)

InstallProgram(phigsmon,$(PEXAPIDIR))
InstallNonExecFile(PHIGSerr.txt,$(PEXAPIDIR))
InstallNonExecFile(PHIGSfnc.txt,$(PEXAPIDIR))

depend::

clean::
	$(RM) phigsmon PHIGSerr.txt PHIGSfnc.txt

FRC:
