mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
26 lines
500 B
Makefile
26 lines
500 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 += posix
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
valgrind: all
|
|
endif
|