changeset 394:b6b13f669174 prerelease

Improved make coreclean
author Giulio Moro <giuliomoro@yahoo.it>
date Tue, 14 Jun 2016 17:55:30 +0100
parents 814e85de67e1
children a4e49a3d9948
files Makefile core/GPIOcontrol.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) "