#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules for boxshade
# Andreas Tille <tille@debian.org>, GPL

export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	$(MAKE) -f makefile.unx CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)"

override_dh_clean:
	rm -f boxshade *.o
	dh_clean

get-orig-source:
	sh debian/get-orig-source
