diff options
author | Jonas Smedegaard <dr@jones.dk> | 2023-10-13 08:58:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2023-10-13 08:58:30 +0200 |
commit | 658e842eaa63d70e681a6d78f16f106cee23da6f (patch) | |
tree | d665a172b9315df13b4f88c1bef2938273d9d415 /Makefile | |
parent | 08ceb51898402b6dbe16630c28816e33d1ed31eb (diff) |
move code to subdir src
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |