Commit 370a0837 authored by Guido van Rossum's avatar Guido van Rossum

Correctly add dependencies and build rules for Modules/python.o.

parent 2c693365
......@@ -166,7 +166,7 @@ LIBRARY= libpython$(VERSION).a
all: $(LIBRARY) python sharedmods
# Build the interpreter
python: $(LIBRARY) buildno
python: $(LIBRARY) buildno Modules/python.o
expr `cat buildno` + 1 >buildno1
mv -f buildno1 buildno
$(CC) -c $(CFLAGS) -DBUILD=`cat buildno` \
......@@ -178,6 +178,9 @@ python: $(LIBRARY) buildno
prefix="$(prefix)" exec_prefix="$(exec_prefix)" \
LIBRARY=../$(LIBRARY) link
Modules/python.o: $(srcdir)/Modules/python.c
cd Modules; $(MAKE) OPT="$(OPT)" python.o
buildno:
echo 0 >buildno
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment