summaryrefslogtreecommitdiff
path: root/firmware/win32.mak
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-09-07 19:49:22 +0000
committerFelix Arends <edx@rockbox.org>2002-09-07 19:49:22 +0000
commitf77b810d2e82de65792f550fab2e8bee6b2b95be (patch)
treefec50a8bf62b217e95a293bc3567ad0b3eef1807 /firmware/win32.mak
parent361546dfb7b5eefd393bec0ff2af103cc13f04b9 (diff)
downloadrockbox-f77b810d2e82de65792f550fab2e8bee6b2b95be.tar.gz
rockbox-f77b810d2e82de65792f550fab2e8bee6b2b95be.zip
a new firmware makefile for windows (GNUSH) supporting DISABLE_GAMES and different targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2228 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/win32.mak')
-rw-r--r--firmware/win32.mak21
1 files changed, 17 insertions, 4 deletions
diff --git a/firmware/win32.mak b/firmware/win32.mak
index d7280accf4..4be3d33170 100644
--- a/firmware/win32.mak
+++ b/firmware/win32.mak
@@ -16,14 +16,27 @@ OC = sh-elf-objcopy
16INCLUDES=-Iinclude -I. -Icommon -Idrivers 16INCLUDES=-Iinclude -I. -Icommon -Idrivers
17 17
18# Pick a target to build for 18# Pick a target to build for
19#TARGET = -DARCHOS_PLAYER=1 19ifdef RECORDER
20#TARGET = -DARCHOS_PLAYER_OLD=1 20 TARGET=-DARCHOS_RECORDER=1
21TARGET = -DARCHOS_RECORDER=1 21else
22 ifdef PLAYER
23 TARGET=-DARCHOS_PLAYER=1
24 else
25 ifdef PLAYER_OLD
26 TARGET=-DARCHOS_PLAYER_OLD=1
27 endif
28 endif
29endif
22 30
23# store output files in this directory: 31# store output files in this directory:
24OBJDIR = . 32OBJDIR = .
25 33
26CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) -DLCD_PROPFONTS 34# use propfonts?
35ifdef PROPFONTS
36 CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) -DLCD_PROPFONTS
37else
38 CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET)
39endif
27 40
28ifdef DEBUG 41ifdef DEBUG
29CFLAGS += -g -DDEBUG 42CFLAGS += -g -DDEBUG