X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=4fbbb057806b2e0217f4c843727486452469305a;hp=4a637882f4e032c44efd71d0a10a0324f4817cdb;hb=148d36993eb87d9b89f0abaf19479c0881c3ad18;hpb=e12bb97dc596c22048864eccecc06bc18bd34b39 diff --git a/Makefile b/Makefile index 4a637882f..4fbbb0578 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,11 @@ depend: # -# 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) +# Run the Clang static code analysis tool on the sources, available here: +# +# http://clang-analyzer.llvm.org +# +# At least checker-231 is required. # .PHONY: clang clang-changes @@ -140,6 +143,26 @@ clang-changes: scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) all +# +# Run the STACK tool on the sources, available here: +# +# http://css.csail.mit.edu/stack/ +# +# Do the following to pass options to configure: +# +# make CONFIGFLAGS="--foo --bar" stack +# + +.PHONY: stack +stack: + stack-build ./configure $(CONFIGFLAGS) + stack-build $(MAKE) $(MFLAGS) clean all + poptck + $(MAKE) $(MFLAGS) distclean + $(RM) */*.ll + $(RM) */*.ll.out + + # # Generate a ctags file... #