mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add $(EXE) to various occurrences of python so it will work on Cygwin
with egcs (after setting EXE=.exe). Patch by Norman Vine.
This commit is contained in:
parent
8db7d8bf6b
commit
8ad22c8153
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue