forked from len0rd/rockbox
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
This commit is contained in:
parent
361546dfb7
commit
f77b810d2e
1 changed files with 17 additions and 4 deletions
|
|
@ -16,14 +16,27 @@ OC = sh-elf-objcopy
|
||||||
INCLUDES=-Iinclude -I. -Icommon -Idrivers
|
INCLUDES=-Iinclude -I. -Icommon -Idrivers
|
||||||
|
|
||||||
# Pick a target to build for
|
# Pick a target to build for
|
||||||
#TARGET = -DARCHOS_PLAYER=1
|
ifdef RECORDER
|
||||||
#TARGET = -DARCHOS_PLAYER_OLD=1
|
TARGET=-DARCHOS_RECORDER=1
|
||||||
TARGET = -DARCHOS_RECORDER=1
|
else
|
||||||
|
ifdef PLAYER
|
||||||
|
TARGET=-DARCHOS_PLAYER=1
|
||||||
|
else
|
||||||
|
ifdef PLAYER_OLD
|
||||||
|
TARGET=-DARCHOS_PLAYER_OLD=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# store output files in this directory:
|
# store output files in this directory:
|
||||||
OBJDIR = .
|
OBJDIR = .
|
||||||
|
|
||||||
CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) -DLCD_PROPFONTS
|
# use propfonts?
|
||||||
|
ifdef PROPFONTS
|
||||||
|
CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET) -DLCD_PROPFONTS
|
||||||
|
else
|
||||||
|
CFLAGS = -W -Wall -O -m1 -nostdlib -Wstrict-prototypes $(INCLUDES) $(TARGET)
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CFLAGS += -g -DDEBUG
|
CFLAGS += -g -DDEBUG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue