Fix Makefile to correctly remove the c.out files.

This commit is contained in:
Ian Adam Naval 2014-09-04 02:18:50 -04:00
parent 4639a8c011
commit 626f119ad9

View File

@ -52,6 +52,6 @@ $(COVER_LIST): %_cover:
mkdir -p $(COVER_DIR)/$*
$(GOTEST) -coverprofile=$(COVER_DIR)/$*/c.out $*
$(GOCOVER) -html=$(COVER_DIR)/$*/c.out -o $(COVER_DIR)/$*/index.html
rm -f $*_c.out
rm -f $(COVER_DIR)/$*/c.out
$(FMT_TEST): %_fmt:
[ -d ./$* ] && $(GOFMT) ./$* || $(GOFMT) .