File: rules

package info (click to toggle)
tm-align 20190822%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,464 kB
  • sloc: cpp: 8,596; fortran: 4,121; sh: 17; makefile: 13
file content (17 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	for src in `ls *.f` ; do \
	    gfortran -ffast-math $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -lm -o `basename $${src} .f` $${src} ; \
	done

override_dh_auto_clean:
	for src in `ls *.f` ; do \
	    rm -f `basename $${src} .f` ; \
	done
	dh_clean