From b42d4fa7e3bbe4154ba838bcc4405b232a10170f Mon Sep 17 00:00:00 2001 From: fros4943 Date: Sun, 25 Mar 2007 18:22:41 +0000 Subject: [PATCH] added quickstart shortcut "make TARGET=cooja" --- platform/cooja/Makefile.cooja | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/cooja/Makefile.cooja b/platform/cooja/Makefile.cooja index 7ea46099f..f7b49569d 100644 --- a/platform/cooja/Makefile.cooja +++ b/platform/cooja/Makefile.cooja @@ -1,4 +1,4 @@ -# $Id: Makefile.cooja,v 1.11 2007/03/23 21:36:48 fros4943 Exp $ +# $Id: Makefile.cooja,v 1.12 2007/03/25 18:22:41 fros4943 Exp $ ## The COOJA Simulator Contiki platform Makefile ## @@ -22,7 +22,9 @@ ifndef CONTIKI endif ifndef TYPEID - $(error TYPEID not defined!) +### Quickstart simulator +$(MAKECMDGOALS): + java -jar $(CONTIKI)/tools/cooja/dist/cooja.jar -quickstart=$(MAKECMDGOALS).c -contiki=$(CONTIKI) endif OUTPUT_DIR = obj_cooja