diff options
author | Dave Chapman <dave@dchapman.com> | 2008-03-26 20:19:39 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-03-26 20:19:39 +0000 |
commit | 3d88eddb833d75b8d7a2c57fcc407530a5f8a57e (patch) | |
tree | 6969c420408dd8f329354e89b214ab375cd7d832 | |
parent | 2ce440d740a2f9a1f496729c7d67bcaff281a5ea (diff) | |
download | rockbox-3d88eddb833d75b8d7a2c57fcc407530a5f8a57e.tar.gz rockbox-3d88eddb833d75b8d7a2c57fcc407530a5f8a57e.zip |
Move checkwps to its own subdir in preparation for compiling target-specific versions. Also remove a DEBUGF that should not have been left in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16827 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/wps_parser.c | 2 | ||||
-rw-r--r-- | tools/checkwps/Makefile | 18 | ||||
-rw-r--r-- | tools/checkwps/checkwps.c (renamed from tools/checkwps.c) | 0 |
3 files changed, 19 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index c645728516..e8c3c9f629 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c | |||
@@ -393,7 +393,7 @@ static bool load_bitmap(struct wps_data *wps_data, | |||
393 | int ret = read_bmp_file(filename, bm, | 393 | int ret = read_bmp_file(filename, bm, |
394 | wps_data->img_buf_free, | 394 | wps_data->img_buf_free, |
395 | format); | 395 | format); |
396 | DEBUGF("Read %s, ret=%d\n",filename,ret); | 396 | |
397 | if (ret > 0) | 397 | if (ret > 0) |
398 | { | 398 | { |
399 | #if LCD_DEPTH == 16 | 399 | #if LCD_DEPTH == 16 |
diff --git a/tools/checkwps/Makefile b/tools/checkwps/Makefile new file mode 100644 index 0000000000..a64196d456 --- /dev/null +++ b/tools/checkwps/Makefile | |||
@@ -0,0 +1,18 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id: Makefile 16822 2008-03-26 18:18:22Z dave $ | ||
8 | # | ||
9 | |||
10 | all: checkwps | ||
11 | |||
12 | checkwps: checkwps.c ../../apps/gui/wps_parser.c ../../apps/gui/wps_debug.c ../../firmware/common/ctype.c ../../apps/misc.c ../../apps/recorder/bmp.c | ||
13 | $(SILENT)$(CC) -g -I ../../apps/gui -I../../firmware/export \ | ||
14 | -D__PCTOOL__ -DDEBUG -DROCKBOX_HAS_LOGF -DIPOD_COLOR -D ROCKBOX_DIR_LEN -D WPS_DIR=\".\" \ | ||
15 | -I../../apps -I../../firmware/target/arm/ipod -I../../firmware/include $+ -o $@ | ||
16 | |||
17 | clean: | ||
18 | rm -f cleanwps | ||
diff --git a/tools/checkwps.c b/tools/checkwps/checkwps.c index ddaaf49b73..ddaaf49b73 100644 --- a/tools/checkwps.c +++ b/tools/checkwps/checkwps.c | |||