summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-22 20:53:47 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-22 20:53:47 (GMT)
commitd14c06819ed92f4b819529f90b3377cf2caad3f1 (patch)
tree09921ed9b23392c85b74920db5b7c797949b698f /Modules
parent1171ee6aaf55fbb7f314a36798c0835ea0900ce9 (diff)
downloadcpython-d14c06819ed92f4b819529f90b3377cf2caad3f1.zip
cpython-d14c06819ed92f4b819529f90b3377cf2caad3f1.tar.gz
cpython-d14c06819ed92f4b819529f90b3377cf2caad3f1.tar.bz2
Add unsupported variable EXE which can be set to .exe on systems where
the executable must have that suffix. Note that there is no corresponding support in the top-level Makefile because I'm not sure that the install targets there make sense under these circumstances.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index a187b7b..a5b2f97 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -123,11 +123,14 @@ add2lib: $(OBJS)
$(AR) cr $(LIBRARY) $(OBJS)
touch add2lib
+# Use ``EXE=.exe'' for Unix emulations on DOS/Windows
+EXE=
+
# This target is used by the master Makefile to link the final binary.
link: $(MAINOBJ)
$(LINKCC) $(LDFLAGS) $(OPT) $(LINKFORSHARED) $(MAINOBJ) \
$(LIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST)
- mv python ../python
+ mv python$(EXE) ../python$(EXE)
clean:
-rm -f *.o python core *~ [@,#]* *.old *.orig *.rej add2lib