diff options
author | Brian Cully <bjc@kublai.com> | 2018-08-30 00:17:05 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2018-08-30 00:17:05 -0400 |
commit | 3442e117d41c3d77c980b918beb0c1d8411b272f (patch) | |
tree | c8e3ca9afbeed614a853596b374195baf3b60ef3 /Makefile | |
download | Kaleidoscope-LayerHighlighter-3442e117d41c3d77c980b918beb0c1d8411b272f.tar.gz Kaleidoscope-LayerHighlighter-3442e117d41c3d77c980b918beb0c1d8411b272f.zip |
Initial commit.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3e1f64d --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# This stub makefile for a Kaleidoscope plugin pulls in +# all targets from the Kaleidoscope-Plugin library + +UNAME_S := $(shell uname -s) + +ifeq ($(UNAME_S),Darwin) +SKETCHBOOK_DIR ?= $(HOME)/Documents/Arduino/ +else +SKETCHBOOK_DIR ?= $(HOME)/Arduino +endif + +BOARD_HARDWARE_PATH ?= $(SKETCHBOOK_DIR)/hardware +KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR ?= keyboardio/avr/build-tools/makefiles/ +include $(BOARD_HARDWARE_PATH)/$(KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR)/rules.mk |