changeset 404:e72853aecab8 prerelease

Fixed Makefile: now runs from the correct folder
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 15 Jun 2016 03:01:16 +0100
parents 83e1acf38d35
children d7b002d68cdb
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Jun 15 02:37:34 2016 +0100
+++ b/Makefile	Wed Jun 15 03:01:16 2016 +0100
@@ -227,10 +227,10 @@
 run: ## Run PROJECT in the foreground
 run: stop Bela
 	@echo "Running $(RUN_COMMAND)"
-	@cd $(PROJECT_DIR) && sync& $(RUN_COMMAND)
+	@sync& cd $(PROJECT_DIR) && $(RUN_COMMAND)
 runide: ## Run PROJECT for IDE (foreground, without stop or build, suppressed output, no buffering)
 runide: Bela
-	@cd $(PROJECT_DIR) && sync& $(RUN_IDE_COMMAND)
+	@sync& cd $(PROJECT_DIR) && $(RUN_IDE_COMMAND)
 runscreen: ## Run PROJECT in the background (detached screen)
 runscreen: stop $(OUTPUT_FILE)
 	@echo "Running $(RUN_COMMAND) in a screen"