as far as the makefile structure changed, adapt: https://github.com/RIOT-OS/RIOT/blob/master/tests/test_pthread/Makefile