mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
10 lines
332 B
Makefile
10 lines
332 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 $(RIOTBASE)/dist/tools/arduino/pre_build.sh $(SRCDIR) $(APPDIR) $(SKETCHES))
|
|
|
|
# include the Arduino headers
|
|
INCLUDES += -I$(RIOTBASE)/sys/arduino/include
|