summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-23 19:00:55 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-23 19:00:55 (GMT)
commit8ad22c81530653631452be02eda7b3bd0e1b3d44 (patch)
tree2e1996483fb06e7058615c14c46c0207d9b05c69 /Modules
parent8db7d8bf6b2e83886ef88f45f08a9c74c1434b1b (diff)
downloadcpython-8ad22c81530653631452be02eda7b3bd0e1b3d44.zip
cpython-8ad22c81530653631452be02eda7b3bd0e1b3d44.tar.gz
cpython-8ad22c81530653631452be02eda7b3bd0e1b3d44.tar.bz2
Add $(EXE) to various occurrences of python so it will work on Cygwin
with egcs (after setting EXE=.exe). Patch by Norman Vine.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in4
1 files 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