Parcourir la source

Makefile cleanup

Taddeus Kroes il y a 13 ans
Parent
commit
b30cbe67bf
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      Makefile

+ 5 - 3
Makefile

@@ -35,15 +35,17 @@ d := tests/
 include base.mk
 include $(d)/rules.mk
 
-.PHONY: doc
+.PHONY: all doc build clean pyclean distclean
 
 all: doc build
 
+distclean: clean pyclean
+
 clean:
 	rm -rf $(CLEAN)
 
-distclean:
-	rm -rf $(CLEAN) `find . -name \*.pyc`
+pyclean:
+	find -name \*.pyc -delete
 
 $(TGT_DIR):
 	mkdir -p $(TGT_DIR)