From 03462fabd698402313636670b6997bfdce9ae252 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Mon, 26 May 2008 08:04:10 +0000 Subject: [PATCH] Many project Makefiles build just one Contiki binary. Up to now the name of this binary was only available to the 'all' goal as prerequisite. So it was possible to create a non-project-specific rule to i.e. load that binary into the target device. Therefore I introduced the make variable CONTIKI_PROJECT. Now a typical project Makefile starts with: CONTIKI_PROJECT = hello-world all: $(CONTIKI_PROJECT) --- README-BUILDING | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README-BUILDING b/README-BUILDING index 074adf417..a0609815a 100644 --- a/README-BUILDING +++ b/README-BUILDING @@ -59,8 +59,10 @@ from the apps/ directory that should be included in the Contiki system. The Makefile used in the hello-world example project looks like this: +CONTIKI_PROJECT = hello-world +all: $(CONTIKI_PROJECT) + CONTIKI = ../.. -all: hello-world include $(CONTIKI)/Makefile.include First, the location of the Contiki source code tree is given by