aboutsummaryrefslogtreecommitdiff
path: root/Makefile.maemo
diff options
context:
space:
mode:
authornotaz2011-02-03 16:02:36 +0200
committernotaz2011-02-03 23:01:13 +0200
commite0c692d9417fdea51a1deebda1048d1a91f1270f (patch)
treeea01d568a9ecf894dd4d0708261f1b223e70497a /Makefile.maemo
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.maemo')
-rw-r--r--Makefile.maemo20
1 files changed, 16 insertions, 4 deletions
diff --git a/Makefile.maemo b/Makefile.maemo
index cf997d8..8a710cc 100644
--- a/Makefile.maemo
+++ b/Makefile.maemo
@@ -1,7 +1,19 @@
USE_GTK=1
-USE_ALSA = 1
+USE_ALSA=1
USE_OSS=0
+
LDFLAGS += $(shell pkg-config --libs hildon-1 libpulse)
-CFLAGS += -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math -O3 \
- -mfpu=neon -funsafe-math-optimizations \
- -mstructure-size-boundary=32 -falign-functions=32 -falign-loops
+EXTRA_CFLAGS += -march=armv7-a -O3 -mfpu=neon -funsafe-math-optimizations \
+ -mstructure-size-boundary=32 -falign-functions=32 -falign-loops \
+ -DMAEMO -DMAEMO_CHANGES $(shell pkg-config --cflags hildon-1)
+
+#EXTRA_CFLAGS += -Imaemo/gtk-2.0 -Imaemo/hildon -Imaemo/glib-2.0 -Imaemo/cairo \
+ -Imaemo/pango-1.0 -Imaemo/atk-1.0 -DMAEMO -DMAEMO_CHANGES
+
+include Makefile
+
+maemo: pcsx plugins/spunull/spunull.so
+ rm -rf out
+ mkdir -p out/plugins
+ cp -r plugins/spunull/spunull.so .
+ strip pcsx spunull.so