#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_CFLAGS_MAINT_APPEND=-std=gnu89

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --with autotools_dev

override_dh_auto_configure:
	dh_auto_configure -- \
		--bindir=\$${prefix}/games \
		--datadir=\$${prefix}/share/games \
		--with-gmp

override_dh_auto_build:
	dh_auto_build -- BUILDCC=$(DEB_BUILD_GNU_TYPE)-gcc

override_dh_auto_test:

override_dh_auto_install:
	dh_auto_install -- prefix=/usr

