diff options
author | Guido van Rossum <guido@python.org> | 1998-10-01 16:42:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-01 16:42:41 (GMT) |
commit | 370a0837d18f6ed63fdb9cfab2a480a09e0fdc9e (patch) | |
tree | 53e7c920d7470f5703b1c056975eb4fd77a2e9fb /Makefile.in | |
parent | 2c69336507d45cc28e27385d717df7115e56baa5 (diff) | |
download | cpython-370a0837d18f6ed63fdb9cfab2a480a09e0fdc9e.zip cpython-370a0837d18f6ed63fdb9cfab2a480a09e0fdc9e.tar.gz cpython-370a0837d18f6ed63fdb9cfab2a480a09e0fdc9e.tar.bz2 |
Correctly add dependencies and build rules for Modules/python.o.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 14eab14..aec17f0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 |