mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
14ac80e15a
Follow up to #9067 and part of #8821
10 lines
322 B
Makefile
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
|