diff --git a/makefile b/makefile
index d55875ea9c49e3f221b4b1cf0e052aac21420c95..e7a80f96542ee3394002c269abcc29178b661699 100644
--- a/makefile
+++ b/makefile
@@ -1,13 +1,14 @@
-.PHONY: clean pythran
+all: helloworld pythran
 
-all: C pythran
+helloworld:
+	gcc helloworld.c -o helloworld.e
 
-C:
-	  gcc helloworld.c -o helloworld.e
+test: helloworld
+	python test_helloworld.py
 
 pythran:
-	  pythran rosenbrock.py -o rosenbrock_pythran.so
+	pythran rosenbrock.py -o rosenbrock_pythran.so
 
 clean:
-	  rm -rf *.o *.e *.so *.pyf *.pyc __pycache__
+	rm -rf *.o *.e *.so *.pyf *.pyc __pycache__