1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/arduino/Makefile.include
Gaëtan Harter 14ac80e15a
sys/arduino: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 11:16:48 +02:00

10 lines
322 B
Makefile

# compile together the Arduino sketches of the application
SKETCHES = $(wildcard $(APPDIR)/*.sketch)
SRCDIR = $(RIOTBASE)/sys/arduino
# run the Arduino pre-build script
$(shell $(RIOTTOOLS)/arduino/pre_build.sh $(SRCDIR) $(APPDIR) $(SKETCHES))
# include the Arduino headers
INCLUDES += -I$(RIOTBASE)/sys/arduino/include