From 8ad22c81530653631452be02eda7b3bd0e1b3d44 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 23 Mar 1999 19:00:55 +0000 Subject: Add $(EXE) to various occurrences of python so it will work on Cygwin with egcs (after setting EXE=.exe). Patch by Norman Vine. --- Modules/Makefile.pre.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 4ea78c5..e72588e 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -127,7 +127,7 @@ link: $(MAINOBJ) mv python$(EXE) ../python$(EXE) clean: - -rm -f *.o python core *~ [@,#]* *.old *.orig *.rej add2lib + -rm -f *.o python$(EXE) core *~ [@,#]* *.old *.orig *.rej add2lib clobber: clean -rm -f *.a tags TAGS config.c Makefile.pre @@ -172,7 +172,7 @@ depend: $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \ sed 's|\(.*\)\.o|$(srcdir)/\1.c|'` -.PRECIOUS: ../python +.PRECIOUS: ../python$(EXE) glmodule.c: $(srcdir)/cgen.py $(srcdir)/cstubs python $(srcdir)/cgen.py <$(srcdir)/cstubs >glmodule.c -- cgit v0.12