Fixed COOJA quickstart to run COOJA from current directory

This commit is contained in:
nifi 2009-10-28 13:39:15 +00:00
parent c51956bc8c
commit 831f16cf61

View file

@ -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