]> git.ozlabs.org Git - ccan/blobdiff - Makefile
Makefile: more hacks for crypto/ and str/ subdirs.
[ccan] / Makefile
index 9d2639a23d2caeb61abc02f8ec17a532c744724c..145520bb13d0254317394e5590480d39e50c1e20 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -73,11 +73,22 @@ summary-check-tal/%: tools/ccanlint/ccanlint $(OBJFILES)
 summary-fastcheck-tal/%: tools/ccanlint/ccanlint $(OBJFILES)
        $(CCANLINT_FAST) -s ccan/tal/$*
 
+summary-check-str/%: tools/ccanlint/ccanlint $(OBJFILES)
+       $(CCANLINT) -s ccan/str/$*
+
+summary-fastcheck-str/%: tools/ccanlint/ccanlint $(OBJFILES)
+       $(CCANLINT_FAST) -s ccan/str/$*
+
+summary-check-crypto/%: tools/ccanlint/ccanlint $(OBJFILES)
+       $(CCANLINT) -s ccan/crypto/$*
+
+summary-fastcheck-crypto/%: tools/ccanlint/ccanlint $(OBJFILES)
+       $(CCANLINT_FAST) -s ccan/crypto/$*
+
 ccan/%/info: ccan/%/_info
        $(CC) $(CCAN_CFLAGS) -o $@ -x c $<
 
 clean: tools-clean
-       $(RM) /tmp/ccan
        $(RM) `find * -name '*.o'` `find * -name '.depends'` `find * -name '*.a'`  `find * -name info` `find * -name '*.d'`
        $(RM) inter-depends lib-depends test-depends ccan/*-Makefile