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