.key topdir,curdir
.bra {
.ket }

; $VER: MaKeMakeFile 1.1 (09.06.93)
; Adapted from the original sh script by Michael Balzer 5/1993
; Usage: cd to location of an Imakefile, then just execute mkmf

if exists makefile
	copy Makefile Makefile.bak >nil:
	delete Makefile >nil:
endif

if {topdir} eq ""
	bin:imake -DTOPDIR=/gcc/src/x11 -DCURDIR=. -DUseInstalled -I/usr/lib/X11/config
else
	bin:imake -DTOPDIR={topdir} -DCURDIR={curdir} -DUseInstalled -I/usr/lib/X11/config
endif
