Parcourir la source

make clean should remove .bin and .hex too

fauxpark il y a 6 ans
Parent
commit
cb1aeb4254
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  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