소스 검색

make clean should remove .bin and .hex too

fauxpark 6 년 전
부모
커밋
cb1aeb4254
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      Makefile

+ 4 - 2
Makefile

@@ -125,9 +125,11 @@ generate-keyboards-file:
 	exit 0
 
 clean:
-	echo -n 'Deleting .build ... '
+	echo 'Deleting .build/ ...'
 	rm -rf $(BUILD_DIR)
-	echo 'done'
+	echo 'Deleting *.bin and *.hex ...'
+	rm -f *.bin *.hex
+	echo 'Done.'
 	exit 0
 
 #Compatibility with the old make variables, anything you specify directly on the command line