Ver Fonte

Makefile cleanup

Taddeus Kroes há 12 anos atrás
pai
commit
6f0117ce94
1 ficheiros alterados com 5 adições e 6 exclusões
  1. 5 6
      Makefile

+ 5 - 6
Makefile

@@ -1,8 +1,9 @@
-TEST := test.py
 COVERAGE_DIR := coverage
 
-test:
-	@pyrg $(TEST)
+.PHONY: check clean coverage covclean
+
+check:
+	@pyrg test.py
 
 coverage: covclean
 	coverage run test.py
@@ -14,6 +15,4 @@ covclean:
 	rm -rf $(COVERAGE_DIR)
 
 clean: covclean
-	rm `find -name \*.pyc`
-
-.PHONY: test clean coverage covclean
+	find -name \*.pyc -delete