aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/maemo/Makefile
blob: f70a00e490dca259fb03cd2467f43b1de64a0a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: all

all:


SRCDIR = ../../..

config:
	cd $(SRCDIR) ; CXXFLAGS="-Os -mcpu=arm926ej-s -fomit-frame-pointer -DMAEMO_SDL" ./configure  --host=arm-linux --prefix=/usr --disable-debug --disable-mt32emu  --disable-hq-scalers --with-tremor-prefix=/usr --enable-tremor --with-zlib-prefix=/usr --enable-zlib --with-mad-prefix=/usr --enable-mad --enable-flac --disable-fluidsynth

scummvm:
	cd $(SRCDIR) ; make
	echo "If there is compiler crash (in Kyra engine) then cd ../../.. and copy/run last line with -O3 instead of -Os and re-run make"
#	cp $(SRCDIR)/scummvm .


deb: $(SRCDIR)/scummvm
	cd $(SRCDIR) ; dpkg-buildpackage -rfakeroot -b -nc