diff options
author | Martin Arver <martin.arver@gmail.com> | 2006-10-27 11:24:13 +0000 |
---|---|---|
committer | Martin Arver <martin.arver@gmail.com> | 2006-10-27 11:24:13 +0000 |
commit | 2c1eec5533db4676e73132923f6c3fa73ad248e6 (patch) | |
tree | e616f8daf8aa3566c9dc9981abad3eeaf1dba5a4 /apps/plugins | |
parent | 522ae6e39ac9faea768ab5e720d7e39cdb129f4f (diff) |
Let SOURCES handle the sim exclusion for metronome
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11360 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/SOURCES | 6 | ||||
-rw-r--r-- | 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 */ + |