diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-23 22:58:45 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-23 22:58:45 (GMT) |
commit | dcd340eeebf0793ea0797ca90d72ac535db4ea78 (patch) | |
tree | 6a83a666b0cecee44d0b94dc97a339ab92a50cc5 /Makefile.pre.in | |
parent | ebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b (diff) | |
download | cpython-dcd340eeebf0793ea0797ca90d72ac535db4ea78.zip cpython-dcd340eeebf0793ea0797ca90d72ac535db4ea78.tar.gz cpython-dcd340eeebf0793ea0797ca90d72ac535db4ea78.tar.bz2 |
Issue #19358: "make clinic" now runs the Argument Clinic preprocessor
over all CPython source files.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 0ccf755..bed702e 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -526,6 +526,12 @@ coverage-report: : # build lcov report $(MAKE) coverage-lcov +# Run "Argument Clinic" over all source files +# (depends on python having already been built) +.PHONY=clinic +clinic: $(BUILDPYTHON) + $(RUNSHARED) $(PYTHON_FOR_BUILD) ./Tools/clinic/clinic.py --make + # Build the interpreter $(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) |