1i\
CC=gcc
s|@srcdir@/src|.|
s|^#.*||
s|^[ \f\t][ \f\t]*$||
s|^ |	|
s|^SHELL *=.*||
s|^	\${libsrc}make-docfile -d ${srcdir} \${obj} emxdep.o|	..\\lib-src\\make-docfile -d ${srcdir} *.o|
s|^	\./|	|
s|^XOBJ=.*|XOBJ=pmterm.o pmfns.o pmselect.o xmenu.o xfaces.o|
s|^LIBX=.*|LIBX=|
s|^OLDXMENU=.*|OLDXMENU=|
s|^LIBXMENU=.*|LIBXMENU=|
s|^LIBXMENU=.*|LIBXMENU=|
s| *	 *|	|g
s|^\$(OLDXMENU):|oldxmenu.dummy:|
s|^CFLAGS=-g$|CFLAGS=-g -O|
s|@LD_SWITCH_X_SITE@||
s|@C_SWITCH_X_SITE@||
s|^emacs: temacs |emacs: temacs.exe |
/{DEBUG_MOLE}/d
/^	-if \[ -w/c\
	temacs -batch -l ../lisp/inc-vers
$a\
temacs.exe: temacs\
	emxbind -bq temacs\
pmemacs.o: pmemacs.c pmemacs.h\
pmemacs.res: pmemacs.rc\
	rc -r pmemacs\
pmemacs.exe: pmemacs.o pmemacs.def pmemacs.res\
	$(CC) $(ALL_CFLAGS) pmemacs.o pmemacs.def pmemacs.res -o pmemacs.exe
