mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a1f0651170
This reverts commit 72f934f13d
.
Not required anymore as 'ar' is not executed in the object directory
anymore.
16 lines
516 B
Makefile
16 lines
516 B
Makefile
# Add Arduino sketches to the application as a module
|
|
|
|
# Define application sketches module, it will be generated into $(BINDIR)
|
|
SKETCH_MODULE ?= arduino_sketches
|
|
SKETCH_MODULE_DIR ?= $(BINDIR)/$(SKETCH_MODULE)
|
|
SKETCHES = $(wildcard $(APPDIR)/*.sketch)
|
|
include $(RIOTBASE)/sys/arduino/sketches.inc.mk
|
|
|
|
# Depends on module
|
|
USEMODULE += $(SKETCH_MODULE)
|
|
DIRS += $(SKETCH_MODULE_DIR)
|
|
BUILDDEPS += $(SKETCH_GENERATED_FILES)
|
|
|
|
# include the Arduino headers
|
|
INCLUDES += -I$(RIOTBASE)/sys/arduino/include
|