File: rules

package info (click to toggle)
blockout2 2.5%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,236 kB
  • sloc: cpp: 10,786; ansic: 148; makefile: 127
file content (23 lines) | stat: -rwxr-xr-x 458 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
23
#!/usr/bin/make -f
# vim: noet sw=4 ts=4 ai

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

BUILD_FLAGS=
ifeq ($(DEB_HOST_ARCH),amd64)
BUILD_FLAGS = ADDCFLAGS=-DLOCALTIME64
endif

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=makefile -- -f debian/Makefile $(BUILD_FLAGS)

override_dh_clean:
	dh_clean
	find . -name "*.o" -delete
	find . -name "*.d" -delete
	$(RM) obj/blockout2 obj/obj-dir-stamp