# HG changeset patch # User Giulio Moro # Date 1465923330 -3600 # Node ID b6b13f6691745c6a2fea2e407d5efc264389a346 # Parent 814e85de67e15138169c8da93be4a3a90a30c327 Improved make coreclean diff -r 814e85de67e1 -r b6b13f669174 Makefile --- a/Makefile Tue Jun 14 16:26:34 2016 +0100 +++ b/Makefile Tue Jun 14 17:55:30 2016 +0100 @@ -29,6 +29,7 @@ # if we are building an example, just copy it to the projects/ folder # and then treat it as a project ifdef EXAMPLE + #you can alternatively specify PROJECT= along with EXAMPLE= PROJECT?=exampleTempProject PROJECT_DIR?=$(abspath projects/$(PROJECT)) $(shell mkdir -p $(abspath projects)) @@ -207,7 +208,7 @@ clean: projectclean coreclean: ## Remove the core's build objects - -$(RM) build/* + -$(RM) build/core/* prompt: @printf "Warning: you are about to DELETE the projects/ folder and its content. This operation cannot be undone. Continue? (y/N) "