File: rules

package info (click to toggle)
madbomber 0.2.5-10
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,664 kB
  • sloc: ansic: 3,734; sh: 78; makefile: 60
file content (25 lines) | stat: -rwxr-xr-x 476 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
24
25
#!/usr/bin/make -f
# -*- makefile -*-

TARGET=madbomber

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1

# enable all hardening options
DEB_BUILD_MAINT_OPTIONS="hardening=+all"

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  DEB_CFLAGS = -Wall -g -O0
else
  DEB_CFLAGS = -Wall -g -O2
endif

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --no-parallel -- DEB_CFLAGS="$(DEB_CFLAGS)" DATA_PREFIX=/usr/share/games/$(TARGET)/

override_dh_auto_install: