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)
This commit is contained in:
oliverschmidt 2008-05-26 07:37:24 +00:00
parent 90797f15a7
commit b2810f02e1
9 changed files with 45 additions and 30 deletions

View file

@ -1,6 +1,8 @@
all: webserver-example
APPS=webserver
DEFAULT_TARGET=minimal-net
CONTIKI_PROJECT = webserver-example
all: $(CONTIKI_PROJECT)
APPS = webserver
DEFAULT_TARGET = minimal-net
# The webserver application normally contains a built-in file system and support
# for server-side includes.