diff Makefile @ 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 4969bd6f3b7d
children 7c35fa8dbc91
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-%: