aboutsummaryrefslogtreecommitdiff
path: root/Makefile.maemo
blob: 0c2e49f3952cc35937529c3739fa7ff0414a5463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
USE_GTK=1
USE_ALSA=1
USE_OSS=0
PLATFORM=generic
NO_TSLIB=1

export MAEMO=1
LDFLAGS += $(shell pkg-config --libs hildon-1 libpulse)
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/i/gtk-2.0 -Imaemo/i/hildon -Imaemo/i/glib-2.0 -Imaemo/i/cairo \
	-Imaemo/i/pango-1.0 -Imaemo/i/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