File: rules

package info (click to toggle)
dustmite 0.0.430-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,576 kB
  • sloc: cpp: 202; sh: 25; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download
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
# -*- makefile -*-
#export DH_VERBOSE=1

%:
	dh $@

# workaround for DMD frontend bug
# first found via LDC: https://github.com/ldc-developers/ldc/issues/4000
EXTRA_DFLAGS += -fall-instantiations

override_dh_auto_build:
	gdc -odustmite \
		-g -O2 -fstack-protector-strong \
		-Wl,-z,relro \
		-Wall \
		$(EXTRA_DFLAGS) \
		*.d

override_dh_clean:
	rm -f dustmite
	dh_clean