summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1a1853b..5976216 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2560,6 +2560,12 @@ distclean: clobber docclean
smelly: all
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/build/smelly.py
+# Check if any unsupported C global variables have been added.
+check-c-globals:
+ $(PYTHON_FOR_REGEN) $(srcdir)/Tools/c-analyzer/check-c-globals.py \
+ --format summary \
+ --traceback
+
# Find files with funny names
funny:
find $(SUBDIRS) $(SUBDIRSTOO) \