+ for dir in $(DIRS); do \
+ $(MAKE) -C $$dir/src clean; \
# SRCS with a list of source files.
# TARGET := project to build
+# Change PEBBLE_HOME to point to the sdk directory
+# and GCC_PREFIX to point to your arm-none-eabi gcc tree.
+# Otherwise it should "just work".
PEBBLE_HOME := $(HOME)/build/pebble/sdk
GCC_PREFIX := $(HOME)/arm-cs-tools/bin/arm-none-eabi-
OBJCOPY := $(GCC_PREFIX)objcopy
# If no version is specified, use a default one
-To generate the links to the SDK for each project:
+This tree is not built with the official Pebble waf scripts.
+Instead each directory has its own Makefile that includes
+the toplevel Makefile from here.
-for dir in hoelat auth; do \
+The only configuration required is in Makefile.pebble:
+1. Set PEBBLE_HOME to point to the sdk directory
+You can also run make in each subdirectory to generate the PBW
+files for that subdirectory.
+To create a new pebble project, copy a sample Makefile and
+the resource_map.json file (this file is vestigal now).
+Fonts and resources need more work; currently they need three lists.
+FONTS, RESOURCE_LIST and the makefile deps for each font. I plan to
+fix this with some more makefile magic in the Makefile.pebble.
+Any questions? Trammell Hudson <firstname.lastname@example.org>