X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile;h=9c70f2ba823fddd99ca1864bbdd2346a41fb427c;hp=b885875a4d6b3fcfa73c1c0b839c0f0db9ceee05;hb=2b7f1fca3e33d017dd86b2de12547f9720fb5c3d;hpb=076729416e091a853e4949082b6adf90c77e7548;ds=sidebyside diff --git a/Makefile b/Makefile index b885875a..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