6 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
7 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
8 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
10 #GAME_VERSION := $(shell head debian/changelog -n1 | sed -n 's/.* (\(.*\)) .*/\1/p')
13 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
23 ./configure --platform=maemo --gpu=neon --sound-drivers=pulseaudio --enable-neon
26 strip plugins/gpu_unai/gpu_unai.so
27 strip plugins/gpu-gles/gpu_gles.so
28 strip plugins/spunull/spunull.so
36 $(MAKE) clean clean_plugins
42 mkdir -p "$(CURDIR)"/debian/pcsxrearmed/opt/maemo/usr/games/screenshots
43 chmod 777 "$(CURDIR)"/debian/pcsxrearmed/opt/maemo/usr/games/screenshots
44 chown user "$(CURDIR)"/debian/pcsxrearmed/opt/maemo/usr/games/screenshots
47 binary-indep: build install
49 binary-arch: build install
67 binary: binary-indep binary-arch
68 .PHONY: build clean binary-indep binary-arch binary install