pebble /

Filename Size Date modified Message
accel
auth
calendar
common
cst
cube
hoelaat
interval
lib
mario
stopwatch
th10
timezones
words
worldmap
zulu
232 B
173 B
279 B
6.8 KB
1.2 KB
105 B
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
2. Set GCC_PREFIX

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 <hudson@osresearch.net>
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 ProjectModifiedEvent.java.
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.