Fixed COOJA quickstart to run COOJA from current directory
This commit is contained in:
parent
c51956bc8c
commit
831f16cf61
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile.cooja,v 1.34 2009/04/23 09:15:51 fros4943 Exp $
|
||||
# $Id: Makefile.cooja,v 1.35 2009/10/28 13:39:15 nifi Exp $
|
||||
|
||||
## The COOJA Simulator Contiki platform Makefile
|
||||
##
|
||||
|
@ -36,8 +36,7 @@ $(CONTIKI)/tools/cooja/dist/cooja.jar:
|
|||
.PHONY: $(MAKECMDGOALS)
|
||||
.PRECIOUS: $(MAKECMDGOALS)
|
||||
$(MAKECMDGOALS): $(CONTIKI)/tools/cooja/dist/cooja.jar
|
||||
(cd $(CONTIKI)/tools/cooja/build && \
|
||||
java -mx512m -jar ../dist/cooja.jar -quickstart='$(abspath $(firstword $(MAKECMDGOALS)))')
|
||||
java -mx512m -jar $< -quickstart='$(firstword $(MAKECMDGOALS))' -contiki='$(CONTIKI)'
|
||||
|
||||
endif ## QUICKSTART
|
||||
|
||||
|
|
Loading…
Reference in a new issue