RIOT/sys/arduino/Makefile.include
Gaëtan Harter a1f0651170
Revert "sys/arduino: work around llvm-ar bug."
This reverts commit 72f934f13d6d50d5f2793f42842f410f5c08d277.

Not required anymore as 'ar' is not executed in the object directory
anymore.
2019-09-16 15:52:36 +02:00

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