diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-02-24 00:51:37 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-02-24 00:51:37 +0000 |
commit | 40d99f434e50a1d3ad19750e663fead7cf08872e (patch) | |
tree | bdbf18247f4073292a41da0811fbf6e03872a551 /apps/plugins/chessbox/Makefile | |
parent | 0b489779cee2297e66f999dc68261fa1df9f452f (diff) | |
download | rockbox-40d99f434e50a1d3ad19750e663fead7cf08872e.tar.gz rockbox-40d99f434e50a1d3ad19750e663fead7cf08872e.zip |
Made chessbox work on archos recorders and Ondios as an overlay. * Proper button handling for Ondio. * Some cleanup of the plugin SOURCES file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8822 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chessbox/Makefile')
-rw-r--r-- | apps/plugins/chessbox/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/apps/plugins/chessbox/Makefile b/apps/plugins/chessbox/Makefile index 05b6d8f6a7..7fe3e7115a 100644 --- a/apps/plugins/chessbox/Makefile +++ b/apps/plugins/chessbox/Makefile | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | INCLUDES = -I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ | 10 | INCLUDES = -I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ |
11 | -I$(FIRMDIR)/common -I$(FIRMDIR)/drivers -I$(OUTDIR) -I$(BUILDDIR) | 11 | -I$(FIRMDIR)/common -I$(FIRMDIR)/drivers -I$(OUTDIR) -I$(BUILDDIR) |
12 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ | 12 | CFLAGS = $(GCCOPTS) -O2 $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ |
13 | -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN | 13 | -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN |
14 | 14 | ||
15 | ifdef APPEXTRA | 15 | ifdef APPEXTRA |
@@ -24,8 +24,17 @@ SOURCES = $(SRC) | |||
24 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) | 24 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) |
25 | DIRS = . | 25 | DIRS = . |
26 | 26 | ||
27 | LDS := ../plugin.lds | 27 | ifndef SIMVER |
28 | OUTPUT = $(OUTDIR)/chessbox.rock | 28 | ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET))))) |
29 | LDS := archos.lds | ||
30 | OUTPUT = $(OUTDIR)/chessbox.ovl | ||
31 | else ## iRiver target | ||
32 | LDS := ../plugin.lds | ||
33 | OUTPUT = $(OUTDIR)/chessbox.rock | ||
34 | endif | ||
35 | else ## simulators | ||
36 | OUTPUT = $(OUTDIR)/chessbox.rock | ||
37 | endif | ||
29 | 38 | ||
30 | all: $(OUTPUT) | 39 | all: $(OUTPUT) |
31 | 40 | ||