summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--src/boards.h (renamed from boards.h)0
-rw-r--r--src/src.ino (renamed from main.ino)0
3 files changed, 3 insertions, 2 deletions
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
diff --git a/boards.h b/src/boards.h
index 153a650..153a650 100644
--- a/boards.h
+++ b/src/boards.h
diff --git a/main.ino b/src/src.ino
index fe80680..fe80680 100644
--- a/main.ino
+++ b/src/src.ino