diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-11-20 11:27:31 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-11-20 11:27:31 +0000 |
commit | c6b3d38a156dd624760a8eb1bb374affd43b4f2a (patch) | |
tree | 493eba929e2396d86cf4f077709aa09fe172cd35 /apps/plugins/robotfindskitten.c | |
parent | f66c30346783a400a029bedcd60ab67c81c34a07 (diff) | |
download | rockbox-c6b3d38a156dd624760a8eb1bb374affd43b4f2a.tar.gz rockbox-c6b3d38a156dd624760a8eb1bb374affd43b4f2a.zip |
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/robotfindskitten.c')
-rw-r--r-- | apps/plugins/robotfindskitten.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/robotfindskitten.c b/apps/plugins/robotfindskitten.c index 4b33513eb2..747689d9db 100644 --- a/apps/plugins/robotfindskitten.c +++ b/apps/plugins/robotfindskitten.c | |||
@@ -29,7 +29,7 @@ | |||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include "plugin.h" | 31 | #include "plugin.h" |
32 | #include "pluginlib_actions.h" | 32 | #include "lib/pluginlib_actions.h" |
33 | 33 | ||
34 | /* This macros must always be included. Should be placed at the top by | 34 | /* This macros must always be included. Should be placed at the top by |
35 | convention, although the actual position doesn't matter */ | 35 | convention, although the actual position doesn't matter */ |
@@ -489,6 +489,14 @@ static char* messages[] = | |||
489 | #define ROBOT 0 | 489 | #define ROBOT 0 |
490 | #define KITTEN 1 | 490 | #define KITTEN 1 |
491 | 491 | ||
492 | /* if SYSFONT_WIDTH is 0 (which it is during dependency generation) gcc | ||
493 | will abort (div by 0) and this plugin won't get any dependencies | ||
494 | */ | ||
495 | #if SYSFONT_WIDTH < 1 | ||
496 | #define SYSFONT_WIDTH 10 | ||
497 | #define SYSFONT_HEIGHT 10 | ||
498 | #endif | ||
499 | |||
492 | /*Screen dimensions.*/ | 500 | /*Screen dimensions.*/ |
493 | #define X_MIN 0 | 501 | #define X_MIN 0 |
494 | #define X_MAX ((LCD_WIDTH/SYSFONT_WIDTH) - 1) | 502 | #define X_MAX ((LCD_WIDTH/SYSFONT_WIDTH) - 1) |