File: rules

package info (click to toggle)
libstb 0.0~git20200713.b42009b%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,276 kB
  • sloc: ansic: 69,121; cpp: 1,488; makefile: 110; sh: 18
file content (22 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download | duplicates (3)
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
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# https://github.com/nothings/stb/issues/741
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -fwrapv
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export MULTIARCH = $(DEB_HOST_MULTIARCH)


%:
	dh $@

execute_after_dh_auto_clean:
	+$(MAKE) -C tests clean

override_dh_auto_test:
	+$(MAKE) -C tests
	+$(MAKE) -C tests do_tests