Browse Source

Makefile cleanup

Taddeus Kroes 13 năm trước cách đây
mục cha
commit
b30cbe67bf
1 tập tin đã thay đổi với 5 bổ sung3 xóa
  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)