mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
22 lines
468 B
Makefile
22 lines
468 B
Makefile
export PROJECT = unittests
|
|
include ../Makefile.tests_common
|
|
|
|
USEMODULE += embunit
|
|
|
|
INCLUDES += -I$(RIOTBASE)/tests/unittests/embunit
|
|
|
|
ifeq ($(OUTPUT),XML)
|
|
CFLAGS += -DOUTPUT=OUTPUT_XML
|
|
USEMODULE += embunit_textui
|
|
else ifeq ($(OUTPUT),TEXT)
|
|
CFLAGS += -DOUTPUT=OUTPUT_TEXT
|
|
USEMODULE += embunit_textui
|
|
else ifeq ($(OUTPUT),COMPILER)
|
|
CFLAGS += -DOUTPUT=OUTPUT_COMPILER
|
|
USEMODULE += embunit_textui
|
|
endif
|
|
|
|
.PHONY : all clean core
|
|
|
|
include $(RIOTBASE)/Makefile.include
|