X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile;h=5c7760d80ca8e082ab10a2fb837e8f16bee64d6e;hp=b885875a4d6b3fcfa73c1c0b839c0f0db9ceee05;hb=dfe310e715cd4c33ada106007d8ae1242d9c7e94;hpb=d873aaec1339baf45c37db7cbaa2d687656343ba diff --git a/Makefile b/Makefile index b885875a..5c7760d8 100644 --- a/Makefile +++ b/Makefile @@ -28,14 +28,14 @@ distclean: clean scores: $(SCOREDIR)/SUMMARY -$(SCOREDIR)/SUMMARY: $(MODS:%=$(SCOREDIR)/score-%) +$(SCOREDIR)/SUMMARY: $(MODS:%=$(SCOREDIR)/%.score) git describe --always > $@ uname -a >> $@ $(CC) -v >> $@ cat $^ | grep 'Total score:' >> $@ -$(SCOREDIR)/score-%: ccan/%/_info tools/ccanlint/ccanlint $(OBJFILES) - mkdir -p $(SCOREDIR) +$(SCOREDIR)/%.score: ccan/%/_info tools/ccanlint/ccanlint $(OBJFILES) + mkdir -p `dirname $@` tools/ccanlint/ccanlint -v -s ccan/$* > $@ || true $(ALL_DEPENDS): %/.depends: %/_info tools/ccan_depends @@ -56,9 +56,15 @@ summary-fastcheck-%: tools/ccanlint/ccanlint $(OBJFILES) tools/ccanlint/ccanlint -x tests_pass_valgrind -x tests_compile_coverage -s ccan/$* # FIXME: Horrible hacks because % doesn't match / +summary-check-antithread/%: tools/ccanlint/ccanlint $(OBJFILES) + tools/ccanlint/ccanlint -s ccan/antithread/$* + summary-fastcheck-antithread/%: tools/ccanlint/ccanlint $(OBJFILES) tools/ccanlint/ccanlint -x tests_pass_valgrind -x tests_compile_coverage -s ccan/antithread/$* +summary-check-tal/%: tools/ccanlint/ccanlint $(OBJFILES) + tools/ccanlint/ccanlint -s ccan/tal/$* + summary-fastcheck-tal/%: tools/ccanlint/ccanlint $(OBJFILES) tools/ccanlint/ccanlint -x tests_pass_valgrind -x tests_compile_coverage -s ccan/tal/$*