#!/usr/bin/make -f

#export DH_VERBOSE=1

PACKAGE = easychem

LDFLAGS ?=
LDFLAGS += -Wl,-z,defs -Wl,--as-needed

ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	LDFLAGS += -Wl,-O1
endif

%:
	dh $@ --buildsystem=makefile --parallel

override_dh_auto_build:
	dh_auto_build -- -f Makefile.linux all

override_dh_auto_clean:
	dh_auto_clean -- -f Makefile.linux

#override_dh_install:
#	dh_install --sourcedir=$(CURDIR)
