Add Arduino 1602LCD Shield settings and LCD lib usage to the project
This commit is contained in:
4
Makefile
4
Makefile
@@ -22,7 +22,8 @@ ELF = $(BINDIR)/$(BOARD)-user-code.elf
|
||||
|
||||
# Source files. wildard "uses" all .c files in src directory
|
||||
SRCDIR = src
|
||||
SRC = $(wildcard $(SRCDIR)/*.c)
|
||||
BUILD_LIBS_DIR = lib
|
||||
SRC = $(wildcard $(SRCDIR)/*.c $(BUILD_LIBS_DIR)/*/*.c)
|
||||
|
||||
# Define object files from .c files defined above
|
||||
OBJ=$(SRC:.c=.o)
|
||||
@@ -76,6 +77,7 @@ clean:
|
||||
#Do not remove .placeholder in BINDIR
|
||||
find $(BINDIR) -type f -not -name '.placeholder' -print0 | xargs -0 rm -f --
|
||||
rm -f $(SRCDIR)/*.o
|
||||
rm -fr $(BUILD_LIBS_DIR)/*/*.o
|
||||
|
||||
install:
|
||||
$(AVRDUDE) $(AVRDUDEARGS) -U flash:w:$(TARGET)
|
||||
|
||||
Reference in New Issue
Block a user