mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
27 lines
519 B
Makefile
27 lines
519 B
Makefile
|
valgrind: CFLAGS += -g
|
||
|
valgrind: CFLAGS += -DHAVE_VALGRIND_VALGRIND_H
|
||
|
|
||
|
# name of your project
|
||
|
export PROJECT = test_irq
|
||
|
#
|
||
|
# for easy switching of boards
|
||
|
export BOARD ?= native
|
||
|
|
||
|
# this has to be the absolute path of the RIOT-base dir
|
||
|
export RIOTBASE = $(CURDIR)/../..
|
||
|
|
||
|
ifeq (,$(findstring native,$(BOARD)))
|
||
|
include $(RIOTBASE)/Makefile.unsupported
|
||
|
else
|
||
|
|
||
|
## Modules to include.
|
||
|
|
||
|
USEMODULE += auto_init
|
||
|
USEMODULE += hwtimer
|
||
|
USEMODULE += uart0
|
||
|
USEMODULE += posix
|
||
|
|
||
|
include $(RIOTBASE)/Makefile.include
|
||
|
valgrind: all
|
||
|
endif
|