 index 0000000..8bf9faa
 --- /dev/null
 +++ b/tests/common/generate_makefiles.sh
-@@ -0,0 +1,8 @@
+@@ -0,0 +1,9 @@
 +#!/bin/bash
 +
++cd "$( dirname "${BASH_SOURCE[0]}" )"
 +for file in *.c; do
 +	test=$(basename $file .c)
 +	mkdir -p $test

+export BOARD ?= native
+
+# this has to be the absolute path of the RIOT-base dir
+export RIOTBASE =$(CURDIR)/../../../../../..
+
+CFLAGS = -DOONF_LOG_INFO -DOONF_LOG_DEBUG_INFO
+
+## Modules to include.
+

+	USEMODULE += oonf_regex
+endif
+USEMODULE += oonf_common
+USEMODULE += gnrc_sock
+
+ifneq (,$(findstring daemonize,$(APPLICATION)))
+	error daemonize is not supported on RIOT
