pebble / README

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.

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.  The PBW file will be written to
the ../build subdirectory by default, but you can direct the artifacts
anywhere by setting O=path-to-file on the command line.

To start a new pebble project, create a Makefile that defines
SRCS with the source input files that are used in your source, FONTS with the
list of font files and sizes, optionally define APP to name the output
program, and include the top level Makefile.pebble.

As a sample Makefile, this is what builds the Nederlands clock:

	APP := hoelaat

	SRCS += nederlands.c

	FONTS := \
		fonts/Arial.ttf:28 \
		fonts/Arial-Black.ttf:30 \

	include ../../Makefile.pebble

Fonts resource names are generated from the TTF input file name
and size.  All applications use the same resource block name, "RESOURCES".

Any questions?  Trammell Hudson <>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.