make quickstart goal precious

This commit is contained in:
fros4943 2009-03-12 15:12:50 +00:00
parent 67407d6f36
commit 72fdf5b379

View file

@ -1,4 +1,4 @@
# $Id: Makefile.cooja,v 1.27 2009/03/12 13:04:11 fros4943 Exp $
# $Id: Makefile.cooja,v 1.28 2009/03/12 15:12:50 fros4943 Exp $
## The COOJA Simulator Contiki platform Makefile
##
@ -33,6 +33,7 @@ $(CONTIKI)/tools/cooja/dist/cooja.jar:
(cd $(CONTIKI)/tools/cooja && ant jar)
# Quickstart rule
.PRECIOUS: $(MAKECMDGOALS)
$(MAKECMDGOALS): $(CONTIKI)/tools/cooja/dist/cooja.jar
(cd $(CONTIKI)/tools/cooja/build && \
java -jar ../dist/cooja.jar -quickstart='$(abspath $(firstword $(MAKECMDGOALS)))')