summaryrefslogtreecommitdiff
path: root/uisimulator/win32/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/makefile')
-rw-r--r--uisimulator/win32/makefile67
1 files changed, 0 insertions, 67 deletions
diff --git a/uisimulator/win32/makefile b/uisimulator/win32/makefile
deleted file mode 100644
index 68c5c26f5b..0000000000
--- a/uisimulator/win32/makefile
+++ /dev/null
@@ -1,67 +0,0 @@
1############################################################################
2# __________ __ ___.
3# Open \______ \ ____ ____ | | _\_ |__ _______ ___
4# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7# \/ \/ \/ \/ \/
8# $Id$
9#
10# Copyright (C) 2002 by Felix Arends
11#
12# All files in this archive are subject to the GNU General Public License.
13# See the file COPYING in the source tree root for full license agreement.
14#
15# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16# KIND, either express or implied.
17#
18############################################################################
19
20FIRMWAREDIR = ../../firmware
21DRIVERS = $(FIRMWAREDIR)/drivers
22COMMON = $(FIRMWAREDIR)/common
23APPSCOMMON = ../common
24SIMDIR = ../win32/
25APPDIR = ../../apps/
26RECDIR = $(APPDIR)recorder/
27RM = del
28
29!IF ("$(TARGET)" == "RECORDER")
30DISPLAY = -DHAVE_LCD_BITMAP
31KEYPAD = -DHAVE_RECORDER_KEYPAD
32!ELSE
33DISPLAY = -DHAVE_LCD_CHARCELLS
34KEYPAD = -DHAVE_PLAYER_KEYPAD
35!ENDIF
36
37CC = cl
38RC = rc
39LINK = link
40DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"WIN32SIM\"
41LDFLAGS = /OUT:uisw32.exe /SUBSYSTEM:windows /NOLOGO /MACHINE:IX86 kernel32.lib user32.lib gdi32.lib
42INCLUDES = -I$(FIRMWAREDIR) -I$(DRIVERS) -I$(COMMON) -I$(SIMDIR) -I$(APPDIR) -I$(RECDIR)
43#LIBS = /DEFAULTLIB:gdi32.lib /DEFAULTLIB:user32.lib
44
45CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) /MD /Fd"Release/vc70.pdb" /c
46
47SRCS = *.c \
48 $(DRIVERS)/lcd.c $(DRIVERS)/power.c \
49 $(APPDIR)*.c \
50 $(FIRMWAREDIR)/chartables.c $(FIRMWAREDIR)/id3.c $(FIRMWAREDIR)/usb.c $(FIRMWAREDIR)/mpeg.c \
51 $(COMMON)/sprintf.c $(COMMON)/strtok.c
52
53!IF ("$(DISPLAY)" == "-DHAVE_LCD_BITMAP")
54SRCS = $(SRCS) $(RECDIR)*.c
55!ENDIF
56
57OBJS = *.obj uisw32.res
58
59uisw32.exe: $(SRCS:.c=.obj)
60 $(CC) $(CFLAGS) $(SRCS)
61 $(RC) /r uisw32.rc
62 $(LINK) $(LIBS) $(LDFLAGS) $(OBJS)
63
64clean:
65 $(RM) *.obj
66 $(RM) uisw32.res
67 $(RM) uisw32.exe