From 658e842eaa63d70e681a6d78f16f106cee23da6f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 13 Oct 2023 08:58:30 +0200 Subject: move code to subdir src --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8dfd366..ccfe14a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -PROJECT = main.ino +PROJECT = src.ino +SOURCE_DIR = src BUILD_DIR = $(CURDIR)/.build OPTS_HARDWARE = -hardware /usr/share/arduino/hardware -hardware ~/.arduino15/packages @@ -15,7 +16,7 @@ build: $(OPTS_HARDWARE) $(OPTS_TOOLS) $(OPTS_LIBS) $(FQBN) \ -ide-version=10819 -build-path $(BUILD_DIR) -warnings=none -build-cache ~/.cache \ -verbose \ - $(PROJECT) + $(SOURCE_DIR)/$(PROJECT) clean: rm -rf .build -- cgit v1.2.3