comparison Makefile @ 400:adb4fafbeaef prerelease

Fixed 'make stop' kills IDE
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 15 Jun 2016 01:48:22 +0100
parents ff60102d5f39
children 00c3bbea4faf
comparison
equal deleted inserted replaced
399:ff60102d5f39 400:adb4fafbeaef
6 # This Makefile is intended for use on the BeagleBone Black itself 6 # This Makefile is intended for use on the BeagleBone Black itself
7 # and not for cross-compiling 7 # and not for cross-compiling
8 8
9 .DEFAULT_GOAL := Bela 9 .DEFAULT_GOAL := Bela
10 10
11 NO_PROJECT_TARGETS=coreclean distclean stop help iderun idestop iderunup idenostartup 11 NO_PROJECT_TARGETS=coreclean distclean stop help iderun idestop idestartup idenostartup
12 NO_PROJECT_TARGETS_MESSAGE=PROJECT or EXAMPLE should be set for all targets except: $(NO_PROJECT_TARGETS) 12 NO_PROJECT_TARGETS_MESSAGE=PROJECT or EXAMPLE should be set for all targets except: $(NO_PROJECT_TARGETS)
13 # Type `$ make help` to get a description of the functionalities of this Makefile. 13 # Type `$ make help` to get a description of the functionalities of this Makefile.
14 help: ## Show this help 14 help: ## Show this help
15 @echo 'Usage: make [target] CL=[command line options] [PROJECT=[projectName] | EXAMPLE=[exampleName]]' 15 @echo 'Usage: make [target] CL=[command line options] [PROJECT=[projectName] | EXAMPLE=[exampleName]]'
16 @printf "\n$(NO_PROJECT_TARGETS_MESSAGE)\n\n" 16 @printf "\n$(NO_PROJECT_TARGETS_MESSAGE)\n\n"
50 BELA_STARTUP_SCRIPT?=/root/BeagleRT_startup.sh 50 BELA_STARTUP_SCRIPT?=/root/BeagleRT_startup.sh
51 BELA_AUDIO_THREAD_NAME?=bela-audio 51 BELA_AUDIO_THREAD_NAME?=bela-audio
52 SCREEN_NAME?=Bela 52 SCREEN_NAME?=Bela
53 BELA_IDE_STARTUP_SCRIPT?=/root/Bela_node.sh 53 BELA_IDE_STARTUP_SCRIPT?=/root/Bela_node.sh
54 BELA_IDE_HOME?=/root/Bela/IDE 54 BELA_IDE_HOME?=/root/Bela/IDE
55 BELA_IDE_SCREEN_NAME?=Bela-IDE 55 # A bug in this version of screen forces us to use two screen names which beginning substrings do not match (Bela, Bela-IDE would cause problems)
56 BELA_IDE_SCREEN_NAME?=IDE-Bela
56 BELA_IDE_RUN_COMMAND?=cd $(BELA_IDE_HOME) && screen -S $(BELA_IDE_SCREEN_NAME) -d -m node index.js 57 BELA_IDE_RUN_COMMAND?=cd $(BELA_IDE_HOME) && screen -S $(BELA_IDE_SCREEN_NAME) -d -m node index.js
57 BELA_IDE_STOP_COMMAND?=screen -X -S $(BELA_IDE_SCREEN_NAME) quit > /dev/null 58 BELA_IDE_STOP_COMMAND?=screen -X -S $(BELA_IDE_SCREEN_NAME) quit > /dev/null
58 59
59 RM := rm -rf 60 RM := rm -rf
60 STATIC_LIBS := ./libprussdrv.a ./libNE10.a 61 STATIC_LIBS := ./libprussdrv.a ./libNE10.a