changeset 20:f4df3bd4b85f

Moved removal of dep files to realclean and properly remove any .exe files
author lost@l-w.ca
date Sat, 22 Jan 2011 18:06:37 -0700
parents 06c4a2b72b24
children ac311e7ffed6
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Jan 22 17:42:22 2011 -0700
+++ b/Makefile	Sat Jan 22 18:06:37 2011 -0700
@@ -100,14 +100,15 @@
 .PHONY: clean
 clean:
 	@echo "Cleaning up"
-	@rm -f $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) $(lwobjdump_deps)
 	@rm -f lwlib/liblw.a lwasm/lwasm$(PROGSUFFIX) lwlink/lwlink$(PROGSUFFIX) lwlink/lwobjdump$(PROGSUFFIX) lwar/lwar$(PROGSUFFIX)
 	@rm -f $(lwasm_objs) $(lwlink_objs) $(lwar_objs) $(lwlib_objs) $(lwobjdump_objs)
 	@rm -f $(extra_clean)
+	@rm -f */*.exe
 
 .PHONY: realclean
 realclean: clean
 	@echo "Cleaning up even more"
+	@rm -f $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) $(lwobjdump_deps)
 	@rm -f docs/manual/*.html docs/manual/*.pdf
 
 print-%: