From 370a0837d18f6ed63fdb9cfab2a480a09e0fdc9e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 1 Oct 1998 16:42:41 +0000 Subject: Correctly add dependencies and build rules for Modules/python.o. --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v0.12