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