Player compatible code, interface still needs some changes for player

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@874 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Felix Arends 2002-06-01 20:56:38 +00:00
parent 61648002b4
commit 647661c3bb
6 changed files with 61 additions and 41 deletions

View file

@ -27,8 +27,15 @@ APPDIR = ../../apps/
RECDIR = $(APPDIR)recorder/
RM = del
#DISPLAY = -DHAVE_LCD_CHARCELLS
DISPLAY = -DHAVE_LCD_BITMAP
#KEYPAD = -DHAVE_PLAYER_KEYPAD
KEYPAD = -DHAVE_RECORDER_KEYPAD
CC = cl
DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR -DARCHOS_RECORDER -D_WIN32 -DWIN32
DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
$(KEYPAD) $(DISPLAY)
LDFLAGS = /ouisw32.exe /link -subsystem:windows
INCLUDES = -I$(FIRMWAREDIR) -I$(DRIVERS) -I$(COMMON) -I$(SIMDIR) -I$(APPDIR) -I$(RECDIR)
LIBS = gdi32.lib user32.lib
@ -36,12 +43,14 @@ LIBS = gdi32.lib user32.lib
CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) /MD /Fd"Release/vc70.pdb"
#SRCS = $(wildcard *.c)
SRCS = lcd-win32.c tetris.c uisw32.c lcd.c button.c tree.c main.c \
SRCS = lcd-win32.c uisw32.c lcd.c button.c tree.c main.c \
chartables.c kernel.c uisw32.res dir-win32.c main_menu.c \
play.c bmp.c debug-win32.c screensaver.c menu.c credits.c \
icons.c sound_menu.c mpeg.c id3.c settings.c sprintf.c
play.c debug-win32.c menu.c credits.c sound_menu.c mpeg.c \
id3.c settings.c sprintf.c
!IF ("$(DISPLAY)" == "-DHAVE_LCD_BITMAP")
SRCS = $(SRCS) tetris.c screensaver.c icons.c bmp.c
!ENDIF
OBJS = $(SRCS:.c=.obj)