From 2c1eec5533db4676e73132923f6c3fa73ad248e6 Mon Sep 17 00:00:00 2001 From: Martin Arver Date: Fri, 27 Oct 2006 11:24:13 +0000 Subject: Let SOURCES handle the sim exclusion for metronome git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11360 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 6 +++++- apps/plugins/metronome.c | 4 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index edc8f9f9c2..c373d72dfe 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -7,7 +7,6 @@ dict.c favorites.c firmware_flash.c logo.c -metronome.c mosaique.c random_folder_advance_config.c #if (LCD_WIDTH != 240) && ((LCD_WIDTH != 128) || (LCD_HEIGHT != 64)) && !defined(SANSA_E200) @@ -22,6 +21,11 @@ stopwatch.c vbrfix.c viewer.c +/* plugins built for all targets, but not for the simulator */ +#if !defined(SIMULATOR) +metronome.c +#endif + #if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)) && !defined(SIMULATOR) wavplay.c #endif diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c index 19150bad60..7a975f434d 100644 --- a/apps/plugins/metronome.c +++ b/apps/plugins/metronome.c @@ -18,8 +18,6 @@ ****************************************************************************/ #include "plugin.h" -#if !defined(SIMULATOR) - PLUGIN_HEADER /* variable button definitions */ @@ -1081,4 +1079,4 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){ } } } -#endif /* #ifndef SIMULATOR */ + -- cgit v1.2.3