diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-08-26 09:21:59 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-26 09:21:59 +0000 |
commit | e67958ba8665655ffb16b2358a82a64c56403912 (patch) | |
tree | 10db4a339ef013becc91058f84f11b5c786ce00f /uisimulator | |
parent | f8c87e6c508f34d783272370ef7de92b480147da (diff) | |
download | rockbox-e67958ba8665655ffb16b2358a82a64c56403912.tar.gz rockbox-e67958ba8665655ffb16b2358a82a64c56403912.zip |
Adapted wormlet to code standard and added it to simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/win32/Makefile | 6 | ||||
-rw-r--r-- | uisimulator/x11/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile index 21bd09ea90..7282afdc24 100644 --- a/uisimulator/win32/Makefile +++ b/uisimulator/win32/Makefile | |||
@@ -68,7 +68,8 @@ APPS = main.c tree.c menu.c credits.c main_menu.c\ | |||
68 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c | 68 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c |
69 | 69 | ||
70 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 70 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
71 | APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c widgets.c | 71 | APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \ |
72 | widgets.c wormlet.c | ||
72 | endif | 73 | endif |
73 | 74 | ||
74 | SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \ | 75 | SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \ |
@@ -122,6 +123,9 @@ $(OBJDIR)/widgets.o: $(RECDIR)/widgets.c | |||
122 | $(OBJDIR)/tetris.o: $(RECDIR)/tetris.c | 123 | $(OBJDIR)/tetris.o: $(RECDIR)/tetris.c |
123 | $(CC) $(APPCFLAGS) -c $< -o $@ | 124 | $(CC) $(APPCFLAGS) -c $< -o $@ |
124 | 125 | ||
126 | $(OBJDIR)/wormlet.o: $(RECDIR)/wormlet.c | ||
127 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
128 | |||
125 | $(OBJDIR)/sokoban.o: $(RECDIR)/sokoban.c | 129 | $(OBJDIR)/sokoban.o: $(RECDIR)/sokoban.c |
126 | $(CC) $(APPCFLAGS) -c $< -o $@ | 130 | $(CC) $(APPCFLAGS) -c $< -o $@ |
127 | 131 | ||
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index c381b915b2..7a61c50ed3 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile | |||
@@ -89,7 +89,8 @@ APPS = main.c tree.c menu.c credits.c main_menu.c\ | |||
89 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c | 89 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c |
90 | 90 | ||
91 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 91 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
92 | APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c widgets.c | 92 | APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \ |
93 | widgets.c wormlet.c | ||
93 | endif | 94 | endif |
94 | 95 | ||
95 | SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \ | 96 | SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \ |
@@ -184,6 +185,9 @@ $(OBJDIR)/widgets.o: $(RECDIR)/widgets.c | |||
184 | $(OBJDIR)/tetris.o: $(RECDIR)/tetris.c | 185 | $(OBJDIR)/tetris.o: $(RECDIR)/tetris.c |
185 | $(CC) $(APPCFLAGS) -c $< -o $@ | 186 | $(CC) $(APPCFLAGS) -c $< -o $@ |
186 | 187 | ||
188 | $(OBJDIR)/wormlet.o: $(RECDIR)/wormlet.c | ||
189 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
190 | |||
187 | $(OBJDIR)/sokoban.o: $(RECDIR)/sokoban.c | 191 | $(OBJDIR)/sokoban.o: $(RECDIR)/sokoban.c |
188 | $(CC) $(APPCFLAGS) -c $< -o $@ | 192 | $(CC) $(APPCFLAGS) -c $< -o $@ |
189 | 193 | ||