Mercurial > hg > beaglert
comparison Makefile @ 397:5848f5c8bc39 prerelease
Reverting Makefile introduced in 814e85de67e1
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 14 Jun 2016 18:24:25 +0100 |
parents | 922535948800 |
children | ff60102d5f39 |
comparison
equal
deleted
inserted
replaced
396:922535948800 | 397:5848f5c8bc39 |
---|---|
264 @echo "Enabling Bela at startup..." | 264 @echo "Enabling Bela at startup..." |
265 @$(STARTUP_COMMAND) > $(BELA_STARTUP_SCRIPT) | 265 @$(STARTUP_COMMAND) > $(BELA_STARTUP_SCRIPT) |
266 | 266 |
267 stop: ## Stops any Bela program that is currently running | 267 stop: ## Stops any Bela program that is currently running |
268 stop: | 268 stop: |
269 # @PID=`grep $(BELA_AUDIO_THREAD_NAME) /proc/xenomai/stat | cut -d " " -f 5 | sed s/\s//g`; if [ -z $$PID ]; then echo "No process to kill"; else echo "Killing old Bela process $$PID"; kill -2 $$PID; fi; screen -X -S $(SCREEN_NAME) quit > /dev/null; exit 0; | 269 @PID=`grep $(BELA_AUDIO_THREAD_NAME) /proc/xenomai/stat | cut -d " " -f 5 | sed s/\s//g`; if [ -z $$PID ]; then echo "No process to kill"; else echo "Killing old Bela process $$PID"; kill -2 $$PID; fi; screen -X -S $(SCREEN_NAME) quit > /dev/null; exit 0; |
270 @PID=`grep $(BELA_AUDIO_THREAD_NAME) /proc/xenomai/stat | cut -d " " -f 5 | sed s/\s//g`; if [ -z $$PID ]; then echo "No process to kill"; else echo "Killing old Bela process $$PID"; fi; screen -X -S $(SCREEN_NAME) quit > /dev/null; exit 0; | |
271 | 270 |
272 iderun: ## Starts the on-board IDE | 271 iderun: ## Starts the on-board IDE |
273 iderun: | 272 iderun: |
274 $(BELA_IDE_RUN_COMMAND) | 273 $(BELA_IDE_RUN_COMMAND) |
275 | 274 |