automatically generating cooja.jar

This commit is contained in:
fros4943 2007-04-02 09:07:30 +00:00
parent c06c28c668
commit 0f17706ef3

View File

@ -1,4 +1,4 @@
# $Id: Makefile.cooja,v 1.12 2007/03/25 18:22:41 fros4943 Exp $ # $Id: Makefile.cooja,v 1.13 2007/04/02 09:07:30 fros4943 Exp $
## The COOJA Simulator Contiki platform Makefile ## The COOJA Simulator Contiki platform Makefile
## ##
@ -23,8 +23,12 @@ endif
ifndef TYPEID ifndef TYPEID
### Quickstart simulator ### Quickstart simulator
$(MAKECMDGOALS): $(MAKECMDGOALS): $(CONTIKI)/tools/cooja/dist/cooja.jar
java -jar $(CONTIKI)/tools/cooja/dist/cooja.jar -quickstart=$(MAKECMDGOALS).c -contiki=$(CONTIKI) java -jar $(CONTIKI)/tools/cooja/dist/cooja.jar -quickstart=$(MAKECMDGOALS).c -contiki=$(CONTIKI)
$(CONTIKI)/tools/cooja/dist/cooja.jar:
echo Creating COOJA Java archive...
(cd $(CONTIKI)/tools/cooja && ant jar)
endif endif
OUTPUT_DIR = obj_cooja OUTPUT_DIR = obj_cooja