aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2013-02-17 16:52:51 -0800
committernotaz2013-02-17 16:52:51 -0800
commit84b0e44599886bac368fa48cd82979019adb904d (patch)
tree0f8cb3b70626e8b08606b4e8a79f4e967b1390a2 /Makefile
parent1ac804af759a1439428d57c41c05bdda0c59bc21 (diff)
parentbaaef67b10823d852e517b24d3b33772533f7cd1 (diff)
downloadpcsx_rearmed-84b0e44599886bac368fa48cd82979019adb904d.tar.gz
pcsx_rearmed-84b0e44599886bac368fa48cd82979019adb904d.tar.bz2
pcsx_rearmed-84b0e44599886bac368fa48cd82979019adb904d.zip
Merge pull request #12 from sakya/master
Maemo ehancement
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f8b777..4a1e61c 100644
--- a/Makefile
+++ b/Makefile
@@ -171,9 +171,16 @@ USE_PLUGIN_LIB = 1
USE_FRONTEND = 1
endif
ifeq "$(PLATFORM)" "maemo"
-OBJS += maemo/hildon.o maemo/main.o
+OBJS += maemo/hildon.o maemo/main.o maemo/maemo_xkb.o frontend/pl_gun_ts.o
maemo/%.o: maemo/%.c
USE_PLUGIN_LIB = 1
+LDFLAGS += $(shell pkg-config --libs hildon-1 libpulse)
+EXTRA_CFLAGS += $(shell pkg-config --cflags hildon-1) -DHAVE_TSLIB
+#EXTRA_CFLAGS += -DMAEMO -DMAEMO_CHANGES -march=armv7-a -O3 -mtune=cortex-a8 -mfpu=neon -funsafe-math-optimizations \
+# -mstructure-size-boundary=32 -falign-functions=32 -falign-loops
+CFLAGS += $(EXTRA_CFLAGS)
+CFLAGS += `pkg-config --cflags glib-2.0 libosso dbus-1 hildon-fm-2`
+LDFLAGS += `pkg-config --libs glib-2.0 libosso dbus-1 hildon-fm-2`
endif
ifeq "$(PLATFORM)" "libretro"
OBJS += frontend/libretro.o