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
This commit is contained in:
Björn Stenberg 2002-08-26 09:21:59 +00:00
parent f8c87e6c50
commit e67958ba86
3 changed files with 237 additions and 270 deletions

View file

@ -68,7 +68,8 @@ APPS = main.c tree.c menu.c credits.c main_menu.c\
MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c
ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c widgets.c
APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \
widgets.c wormlet.c
endif
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
$(OBJDIR)/tetris.o: $(RECDIR)/tetris.c
$(CC) $(APPCFLAGS) -c $< -o $@
$(OBJDIR)/wormlet.o: $(RECDIR)/wormlet.c
$(CC) $(APPCFLAGS) -c $< -o $@
$(OBJDIR)/sokoban.o: $(RECDIR)/sokoban.c
$(CC) $(APPCFLAGS) -c $< -o $@

View file

@ -89,7 +89,8 @@ APPS = main.c tree.c menu.c credits.c main_menu.c\
MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c
ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c widgets.c
APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \
widgets.c wormlet.c
endif
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \
@ -184,6 +185,9 @@ $(OBJDIR)/widgets.o: $(RECDIR)/widgets.c
$(OBJDIR)/tetris.o: $(RECDIR)/tetris.c
$(CC) $(APPCFLAGS) -c $< -o $@
$(OBJDIR)/wormlet.o: $(RECDIR)/wormlet.c
$(CC) $(APPCFLAGS) -c $< -o $@
$(OBJDIR)/sokoban.o: $(RECDIR)/sokoban.c
$(CC) $(APPCFLAGS) -c $< -o $@