diff --git a/makefile b/makefile
index 63843d2bd5ed58cfcce3d92c96308dc74a24931b..e5fba22a91d9f1c7c4926a146c28bd393c4c3472 100644
--- a/makefile
+++ b/makefile
@@ -248,6 +248,9 @@ log.o: $(LOG_DEP)
 .PHONY: all
 all: sparse2img img2sparse
 
+.PHONY: test
+test: tests
+
 .PHONY: tests
 tests:
 	$(SCANBUILD)