From c293cb616e1751e44f103e692878c996f695dec3 Mon Sep 17 00:00:00 2001 From: Erik Nyquist Date: Fri, 30 Sep 2016 16:49:17 -0700 Subject: [PATCH] Add CODK Makefile to CurieMailbox examples This allows the examples to be used immediately in CODK-M, without editing any Makefiles. --- .../examples/SharedCounter/Makefile | 17 +++++++++++++++++ libraries/CurieMailbox/examples/String/Makefile | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 libraries/CurieMailbox/examples/SharedCounter/Makefile create mode 100644 libraries/CurieMailbox/examples/String/Makefile diff --git a/libraries/CurieMailbox/examples/SharedCounter/Makefile b/libraries/CurieMailbox/examples/SharedCounter/Makefile new file mode 100644 index 00000000..d23e005d --- /dev/null +++ b/libraries/CurieMailbox/examples/SharedCounter/Makefile @@ -0,0 +1,17 @@ +ifeq ("$(strip $(CODK_DIR))", "") + $(error Please set the CODK_DIR variable.) +endif + +ARDUINOSW_DIR ?= $(CODK_DIR)/arc + +current_dir = $(shell pwd) + +VERBOSE = true + +LIBDIRS = $(ARDUINOSW_DIR)/corelibs/libraries/CurieMailbox/src + +include $(ARDUINOSW_DIR)/Makefile.inc + +all: compile + +.DEFAULT_GOAL := all diff --git a/libraries/CurieMailbox/examples/String/Makefile b/libraries/CurieMailbox/examples/String/Makefile new file mode 100644 index 00000000..d23e005d --- /dev/null +++ b/libraries/CurieMailbox/examples/String/Makefile @@ -0,0 +1,17 @@ +ifeq ("$(strip $(CODK_DIR))", "") + $(error Please set the CODK_DIR variable.) +endif + +ARDUINOSW_DIR ?= $(CODK_DIR)/arc + +current_dir = $(shell pwd) + +VERBOSE = true + +LIBDIRS = $(ARDUINOSW_DIR)/corelibs/libraries/CurieMailbox/src + +include $(ARDUINOSW_DIR)/Makefile.inc + +all: compile + +.DEFAULT_GOAL := all