X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile;h=9c70f2ba823fddd99ca1864bbdd2346a41fb427c;hp=1e08982704956b7ba0465c4dd6062f7071534048;hb=e7ae27d64226dda9865f1e4b5d9a55adcee04694;hpb=d379e0ae835bdd047a5d277f7ded41f180134e27 diff --git a/Makefile b/Makefile index 1e089827..9c70f2ba 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 @@ -59,6 +59,9 @@ summary-fastcheck-%: tools/ccanlint/ccanlint $(OBJFILES) summary-fastcheck-antithread/%: tools/ccanlint/ccanlint $(OBJFILES) tools/ccanlint/ccanlint -x tests_pass_valgrind -x tests_compile_coverage -s ccan/antithread/$* +summary-fastcheck-tal/%: tools/ccanlint/ccanlint $(OBJFILES) + tools/ccanlint/ccanlint -x tests_pass_valgrind -x tests_compile_coverage -s ccan/tal/$* + ccan/%/info: ccan/%/_info $(CC) $(CCAN_CFLAGS) -o $@ -x c $<