#!/usr/bin/make -f

export FC_DEFAULT=gfortran
export FC_OPTIONAL=flang-21 lfortran
export DH_NO_ORIG_LIBS=1

export DH_VERBOSE=1

# Necessary to build shared libraries
export DEB_LDFLAGS_MAINT_APPEND=-fPIC

# The magic debhelper  rule
%:
	dh $@ --with fortran --buildsystem fortran
