Author: mike
Date: 2011-02-15 07:29:03 -0800 (Tue, 15 Feb 2011)
New Revision: 8427
Log:
Add clang pseudo-target.
Modified:
branches/branch-1.3/
branches/branch-1.3/Makefile
Property changes on: branches/branch-1.3
___________________________________________________________________
Name: svn:ignore
- autom4te*.cache
config.cache
config.h
config.log
config.status
configure
fltk-config
fltk.list
fltk.spec
makeinclude
*.bck
TAGS
+ autom4te*.cache
clang
config.cache
config.h
config.log
config.status
configure
fltk-config
fltk.list
fltk.spec
makeinclude
*.bck
TAGS
Modified: branches/branch-1.3/Makefile
===================================================================
--- branches/branch-1.3/Makefile 2011-02-15 15:28:27 UTC (rev 8426)
+++ branches/branch-1.3/Makefile 2011-02-15 15:29:03 UTC (rev 8427)
@@ -122,5 +122,18 @@
etags FL/*.H FL/*.h src/*.cxx src/*.c src/*.h src/xutf8/*.h
src/xutf8/*.c cairo/*.cxx fluid/*.h fluid/*.cxx test/*.h test/*.cxx
#
+# Run the clang.llvm.org static code analysis tool on the C sources.
+# (at least checker-231 is required for scan-build to work this way)
+#
+
+.PHONY: clang clang-changes
+clang:
+ $(RM) -r clang
+ scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) clean all
+clang-changes:
+ scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) all
+
+
+#
# End of "$Id$".
#
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit