summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-30 09:27:16 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-30 09:27:16 (GMT)
commit224b289efa5cd1a9b5dac87a89cd5ee66ff98b60 (patch)
tree5ed57b1aa3794b23a5d8dda64ec06963936ff4ad /Modules/makesetup
parent1d5735e84621a7fe68d361fa0e289fa2c3310836 (diff)
downloadcpython-224b289efa5cd1a9b5dac87a89cd5ee66ff98b60.zip
cpython-224b289efa5cd1a9b5dac87a89cd5ee66ff98b60.tar.gz
cpython-224b289efa5cd1a9b5dac87a89cd5ee66ff98b60.tar.bz2
* Modules/makesetup: bugfix: add objects from sources to OBJS
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-xModules/makesetup3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index e78ff4f..88b87b9 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -141,6 +141,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
RULES="$RULES$obj: $src; \$(CC) \$(CFLAGS) $cpps -c $src$NL"
done
OBJS="$OBJS $objs"
+ objs=
for src in $srcs
do
case $src in
@@ -150,12 +151,14 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
*.C) obj=`basename $src .C`.o; cc='$(CCC)';;
*) continue;;
esac
+ objs="$objs $obj"
case $src in
glmodule.c) ;;
*) src='$(srcdir)/'$src;;
esac
RULES="$RULES$obj: $src; $cc \$(CFLAGS) $cpps -c $src$NL"
done
+ OBJS="$OBJS $objs"
done
case $noobjects in