From: Guido van Rossum Date: Tue, 23 Mar 1999 19:00:55 +0000 (+0000) Subject: Add $(EXE) to various occurrences of python so it will work on Cygwin X-Git-Tag: v1.5.2c1~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ad22c81530653631452be02eda7b3bd0e1b3d44;p=python Add $(EXE) to various occurrences of python so it will work on Cygwin with egcs (after setting EXE=.exe). Patch by Norman Vine. --- diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 4ea78c51d4..e72588e04a 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