Skip to content

Commit 504723a

Browse files
committed
Add CODK Makefile to CurieMailbox examples
This allows the examples to be used immediately in CODK-M, without editing any Makefiles.
1 parent e650573 commit 504723a

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
ifeq ("$(strip $(CODK_DIR))", "")
2+
$(error Please set the CODK_DIR variable.)
3+
endif
4+
5+
ARDUINOSW_DIR ?= $(CODK_DIR)/arc
6+
7+
current_dir = $(shell pwd)
8+
9+
VERBOSE = true
10+
11+
LIBDIRS = $(ARDUINOSW_DIR)/corelibs/libraries/CurieMailbox/src
12+
13+
include $(ARDUINOSW_DIR)/Makefile.inc
14+
15+
all: compile
16+
17+
.DEFAULT_GOAL := all
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
ifeq ("$(strip $(CODK_DIR))", "")
2+
$(error Please set the CODK_DIR variable.)
3+
endif
4+
5+
ARDUINOSW_DIR ?= $(CODK_DIR)/arc
6+
7+
current_dir = $(shell pwd)
8+
9+
VERBOSE = true
10+
11+
LIBDIRS = $(ARDUINOSW_DIR)/corelibs/libraries/CurieMailbox/src
12+
13+
include $(ARDUINOSW_DIR)/Makefile.inc
14+
15+
all: compile
16+
17+
.DEFAULT_GOAL := all

0 commit comments

Comments
 (0)