#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS) -Wall -g $$(pkg-config --cflags ncurses)" LDFLAGS="$(LDFLAGS) $$(pkg-config --libs ncurses)"

override_dh_auto_install:
	PREFIX=/usr dh_auto_install
