diff --git a/examples/sky-shell-webserver/Makefile b/examples/sky-shell-webserver/Makefile
index 7992f619b..447eb1b70 100644
--- a/examples/sky-shell-webserver/Makefile
+++ b/examples/sky-shell-webserver/Makefile
@@ -1,8 +1,11 @@
CONTIKI_PROJECT = sky-shell-webserver
all: $(CONTIKI_PROJECT)
-CFLAGS = -DWITH_UIP=1
+PROJECT_SOURCEFILES = webserver-nogui.c
+
+CFLAGS = -DWITH_UIP=1 -DWITH_NULLMAC=1
CONTIKI = ../..
APPS = webserver serial-shell
include $(CONTIKI)/Makefile.include
+
\ No newline at end of file
diff --git a/tools/cooja/contiki_tests/ip_sky_webserver_wget.csc b/tools/cooja/contiki_tests/ip_sky_webserver_wget.csc
index 35752f700..8a046a1ca 100644
--- a/tools/cooja/contiki_tests/ip_sky_webserver_wget.csc
+++ b/tools/cooja/contiki_tests/ip_sky_webserver_wget.csc
@@ -18,7 +18,7 @@
sky1
Sky Mote Type #1
- make sky-shell-webserver.sky TARGET=sky DEFINES=WITH_NULLMAC
+ make sky-shell-webserver.sky TARGET=sky
se.sics.cooja.mspmote.SkyMote