aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2011-02-03 16:02:36 +0200
committernotaz2011-02-03 23:01:13 +0200
commite0c692d9417fdea51a1deebda1048d1a91f1270f (patch)
treeea01d568a9ecf894dd4d0708261f1b223e70497a /Makefile
parentb7b2fb4165eee505bc05cbf23309bb5ed4289494 (diff)
downloadpcsx_rearmed-e0c692d9417fdea51a1deebda1048d1a91f1270f.tar.gz
pcsx_rearmed-e0c692d9417fdea51a1deebda1048d1a91f1270f.tar.bz2
pcsx_rearmed-e0c692d9417fdea51a1deebda1048d1a91f1270f.zip
maemo: clean up and integrate
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index de10e4c..2ccd0e2 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,9 @@ endif
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG
endif
-USE_OSS = 1
+CFLAGS += $(EXTRA_CFLAGS)
+
+USE_OSS ?= 1
#USE_ALSA = 1
#DRC_DBG = 1
#PCNT = 1
@@ -65,22 +67,30 @@ OBJS += plugins/dfxvideo/draw.o
else
OBJS += plugins/dfxvideo/draw_fb.o
endif
+
# cdrcimg
plugins/cdrcimg/%.o: CFLAGS += -Wall
OBJS += plugins/cdrcimg/cdrcimg.o
# gui
-OBJS += frontend/main.o frontend/plugin.o frontend/plugin_lib.o
-OBJS += frontend/menu.o
+OBJS += frontend/main.o frontend/plugin.o
+ifeq "$(USE_GTK)" "1"
+OBJS += maemo/hildon.o maemo/main.o
+maemo/%.o: maemo/%.c
+else
+OBJS += frontend/plugin_lib.o frontend/menu.o
OBJS += frontend/linux/fbdev.o frontend/linux/in_evdev.o
OBJS += frontend/linux/plat.o frontend/linux/oshide.o
OBJS += frontend/common/fonts.o frontend/common/input.o frontend/common/readpng.o
ifeq "$(ARCH)" "arm"
-OBJS += frontend/arm_utils.o
OBJS += frontend/plat_omap.o
else
OBJS += frontend/plat_dummy.o
endif
+endif # !USE_GTK
+ifeq "$(ARCH)" "arm"
+OBJS += frontend/arm_utils.o
+endif
ifdef X11
frontend/%.o: CFLAGS += -DX11
OBJS += frontend/xkb.o