169
169
OBJECTS := $(addsuffix .o, $(basename $(SOURCES)))
170
170
ARDUINOSRCDIR := $(ARDUINODIR)/hardware/arduino/cores/arduino
173
174
ARDUINOLIBOBJS := $(patsubst %, $(ARDUINOLIBTMP)/%.o, $(basename $(notdir \
174
175
$(wildcard $(addprefix $(ARDUINOSRCDIR)/, *.c *.cpp)))))
175
176
ARDUINOLIBOBJS += $(foreach lib, $(LIBRARIES), \
176
177
$(patsubst %, $(ARDUINOLIBTMP)/%.o, $(basename $(notdir \
179
181
# obtain board parameters from the arduino boards.txt file
180
182
BOARDS_FILE := $(ARDUINODIR)/hardware/arduino/boards.txt