summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-24 00:51:37 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-24 00:51:37 +0000
commit40d99f434e50a1d3ad19750e663fead7cf08872e (patch)
treebdbf18247f4073292a41da0811fbf6e03872a551 /apps/plugins/chessbox/Makefile
parent0b489779cee2297e66f999dc68261fa1df9f452f (diff)
downloadrockbox-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/Makefile15
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
10INCLUDES = -I$(APPSDIR) -I.. -I. -I$(FIRMDIR)/include -I$(FIRMDIR)/export \ 10INCLUDES = -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)
12CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ 12CFLAGS = $(GCCOPTS) -O2 $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \
13 -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN 13 -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN
14 14
15ifdef APPEXTRA 15ifdef APPEXTRA
@@ -24,8 +24,17 @@ SOURCES = $(SRC)
24OBJS := $(SRC:%.c=$(OBJDIR)/%.o) 24OBJS := $(SRC:%.c=$(OBJDIR)/%.o)
25DIRS = . 25DIRS = .
26 26
27LDS := ../plugin.lds 27ifndef SIMVER
28OUTPUT = $(OUTDIR)/chessbox.rock 28ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET)))))
29 LDS := archos.lds
30 OUTPUT = $(OUTDIR)/chessbox.ovl
31else ## iRiver target
32 LDS := ../plugin.lds
33 OUTPUT = $(OUTDIR)/chessbox.rock
34endif
35else ## simulators
36 OUTPUT = $(OUTDIR)/chessbox.rock
37endif
29 38
30all: $(OUTPUT) 39all: $(OUTPUT)
31 40