1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/test_pthread_cooperation/Makefile
Raphael Hiesgen 310ac02ad7 Adds test for pthread.
The test uses pthread to calculate the factorial of 12, with one
thread for each multiplication. pthread_mutex is used for synchronization.
2014-02-26 13:52:08 +01:00

15 lines
368 B
Makefile

export PROJECT = test_pthread_cooperation
include ../Makefile.tests_common
USEMODULE += posix
USEMODULE += pthread
ifeq ($(BOARD),native)
CFLAGS += -isystem $(RIOTBASE)/sys/posix/pthread/include
else
export INCLUDES = -I$(RIOTBASE)/sys/posix/pthread/include \
-I$(RIOTBASE)/sys/posix/include
endif
include $(RIOTBASE)/Makefile.include