From f0a3477dd287d4a47837205523d1d3845482789a Mon Sep 17 00:00:00 2001 From: nifi Date: Fri, 26 Jun 2009 12:04:46 +0000 Subject: [PATCH] replaced DEFAULT_TARGET with Makefile.target for specifying default target --- examples/new-ipv6/Makefile | 2 -- examples/new-ipv6/Makefile.target | 1 + examples/ping-ipv6/Makefile | 1 - examples/ping-ipv6/Makefile.target | 1 + examples/udp-ipv6/Makefile | 2 -- examples/udp-ipv6/Makefile.target | 1 + examples/udp-receiver-ipv6/Makefile | 1 - examples/udp-receiver-ipv6/Makefile.target | 1 + examples/udp-sender-ipv6/Makefile | 1 - examples/udp-sender-ipv6/Makefile.target | 1 + examples/webserver-ipv6/Makefile | 1 - examples/webserver-ipv6/Makefile.target | 1 + 12 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 examples/new-ipv6/Makefile.target create mode 100644 examples/ping-ipv6/Makefile.target create mode 100644 examples/udp-ipv6/Makefile.target create mode 100644 examples/udp-receiver-ipv6/Makefile.target create mode 100644 examples/udp-sender-ipv6/Makefile.target create mode 100644 examples/webserver-ipv6/Makefile.target diff --git a/examples/new-ipv6/Makefile b/examples/new-ipv6/Makefile index 4eb79de09..dacf02c13 100644 --- a/examples/new-ipv6/Makefile +++ b/examples/new-ipv6/Makefile @@ -1,7 +1,5 @@ all: empty -DEFAULT_TARGET=minimal-net - UIP_CONF_IPV6=1 CONTIKI = ../.. diff --git a/examples/new-ipv6/Makefile.target b/examples/new-ipv6/Makefile.target new file mode 100644 index 000000000..0d5d95ee2 --- /dev/null +++ b/examples/new-ipv6/Makefile.target @@ -0,0 +1 @@ +TARGET = minimal-net diff --git a/examples/ping-ipv6/Makefile b/examples/ping-ipv6/Makefile index d9cd296ef..91dc81a4e 100644 --- a/examples/ping-ipv6/Makefile +++ b/examples/ping-ipv6/Makefile @@ -1,6 +1,5 @@ all: example-ping6 APPS=ping6 -DEFAULT_TARGET=minimal-net UIP_CONF_IPV6=1 diff --git a/examples/ping-ipv6/Makefile.target b/examples/ping-ipv6/Makefile.target new file mode 100644 index 000000000..0d5d95ee2 --- /dev/null +++ b/examples/ping-ipv6/Makefile.target @@ -0,0 +1 @@ +TARGET = minimal-net diff --git a/examples/udp-ipv6/Makefile b/examples/udp-ipv6/Makefile index fbec78d44..627e1c5f6 100644 --- a/examples/udp-ipv6/Makefile +++ b/examples/udp-ipv6/Makefile @@ -1,8 +1,6 @@ all: udp-server udp-client -DEFAULT_TARGET=minimal-net UIP_CONF_IPV6=1 -DEFINES=WITH_UIP6 CONTIKI = ../.. include $(CONTIKI)/Makefile.include diff --git a/examples/udp-ipv6/Makefile.target b/examples/udp-ipv6/Makefile.target new file mode 100644 index 000000000..0d5d95ee2 --- /dev/null +++ b/examples/udp-ipv6/Makefile.target @@ -0,0 +1 @@ +TARGET = minimal-net diff --git a/examples/udp-receiver-ipv6/Makefile b/examples/udp-receiver-ipv6/Makefile index 0b4276c03..9af1a856d 100644 --- a/examples/udp-receiver-ipv6/Makefile +++ b/examples/udp-receiver-ipv6/Makefile @@ -1,5 +1,4 @@ all: example-udp-receiver -DEFAULT_TARGET=minimal-net UIP_CONF_IPV6=1 diff --git a/examples/udp-receiver-ipv6/Makefile.target b/examples/udp-receiver-ipv6/Makefile.target new file mode 100644 index 000000000..0d5d95ee2 --- /dev/null +++ b/examples/udp-receiver-ipv6/Makefile.target @@ -0,0 +1 @@ +TARGET = minimal-net diff --git a/examples/udp-sender-ipv6/Makefile b/examples/udp-sender-ipv6/Makefile index 648a606f8..7602fedff 100644 --- a/examples/udp-sender-ipv6/Makefile +++ b/examples/udp-sender-ipv6/Makefile @@ -1,5 +1,4 @@ all: example-udp-sender -DEFAULT_TARGET=minimal-net UIP_CONF_IPV6=1 diff --git a/examples/udp-sender-ipv6/Makefile.target b/examples/udp-sender-ipv6/Makefile.target new file mode 100644 index 000000000..0d5d95ee2 --- /dev/null +++ b/examples/udp-sender-ipv6/Makefile.target @@ -0,0 +1 @@ +TARGET = minimal-net diff --git a/examples/webserver-ipv6/Makefile b/examples/webserver-ipv6/Makefile index 5df017c5c..e50fa9e44 100644 --- a/examples/webserver-ipv6/Makefile +++ b/examples/webserver-ipv6/Makefile @@ -1,6 +1,5 @@ all: webserver6 APPS=webserver -DEFAULT_TARGET=minimal-net UIP_CONF_IPV6=1 diff --git a/examples/webserver-ipv6/Makefile.target b/examples/webserver-ipv6/Makefile.target new file mode 100644 index 000000000..0d5d95ee2 --- /dev/null +++ b/examples/webserver-ipv6/Makefile.target @@ -0,0 +1 @@ +TARGET = minimal-net