1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# Needed to compile with gfortran 10, see #966125
DEB_FFLAGS_MAINT_APPEND := -std=legacy
include /usr/share/dpkg/buildflags.mk
ifeq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = 1
else
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
%:
dh $@
override_dh_auto_build:
make -j$(NUMJOBS) -f makefile.gf FFLAGS="$(FFLAGS)" LDFLAGS="$(LDFLAGS)" PROGRAM=x13as
override_dh_auto_clean:
make -f makefile.gf clean
rm -f x13as
|