diff options
author | Guido van Rossum <guido@python.org> | 1995-01-10 17:43:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-10 17:43:33 (GMT) |
commit | 6c1874fc2bd0e0d2e30de78fe1f1fe8bcf8a20be (patch) | |
tree | 272cf71937fdd8612162ce179786467c44ec3c70 /Modules/Makefile.pre.in | |
parent | 062cfb0c4e804a6c0d5d9d1711abdcfb1882e200 (diff) | |
download | cpython-6c1874fc2bd0e0d2e30de78fe1f1fe8bcf8a20be.zip cpython-6c1874fc2bd0e0d2e30de78fe1f1fe8bcf8a20be.tar.gz cpython-6c1874fc2bd0e0d2e30de78fe1f1fe8bcf8a20be.tar.bz2 |
changes for C++ (Tim MacKenzie)
Diffstat (limited to 'Modules/Makefile.pre.in')
-rw-r--r-- | Modules/Makefile.pre.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 5662ea5..8ebf62a 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -6,6 +6,7 @@ # brought up to date by running "make Makefile". (The makesetup also # creates config.c from config.c.in in the source directory.) +LINKCC = $(CC) # === Variables set by makesetup === MODOBJS= _MODOBJS_ @@ -79,12 +80,12 @@ $(LIB): $(OBJS) Makefile $(RANLIB) $(LIB) ../python: config.o $(MYLIBS) Makefile - $(CC) $(OPT) config.o $(LINKFORSHARED) \ + $(LINKCC) $(OPT) config.o $(LINKFORSHARED) \ $(MYLIBS) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python mv python ../python config.o: config.c Makefile $(MYLIBS) - $(CC) $(CFLAGS) -DPYTHONPATH=\"$(PYTHONPATH)\" -c config.c + $(LINKCC) $(CFLAGS) -DPYTHONPATH=\"$(PYTHONPATH)\" -c config.c clean: -rm -f *.o python core *~ [@,#]* *.old *.orig *.rej |