#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CXXFLAGS_MAINT_APPEND  = -flto -DUSE_LD
export DEB_LDFLAGS_MAINT_APPEND  = -flto

%:
	dh $@ --buildsystem=cmake --builddirectory=build

override_dh_install:
	mv build/ghosts_of_mars build/ghostsofmars-by-faemiyah
	dh_install

