Эх сурвалжийг харах

make clean should remove .bin and .hex too

fauxpark 6 жил өмнө
parent
commit
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