File: rules

package info (click to toggle)
rott 1.1.2-1
  • links: PTS, VCS
  • area: contrib
  • in suites: wheezy
  • size: 4,396 kB
  • sloc: ansic: 96,903; asm: 742; objc: 177; makefile: 119; sh: 67
file content (21 lines) | stat: -rwxr-xr-x 552 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
#!/usr/bin/make -f

CFLAGS += -DDATADIR=\"/usr/share/games/rott/\"
CFLAGS += -Wno-pointer-sign -Wno-unused

%:
	dh $@ --sourcedir=rott

override_dh_auto_build:
	# Shareware Version
	$(MAKE) -C rott tidy
	dh_auto_build -- ROTT=rott-shareware
	# Commercial Version
	$(MAKE) -C rott tidy
	dh_auto_build -- ROTT=rott-commercial  SHAREWARE=0
	# CD Version
	$(MAKE) -C rott tidy
	dh_auto_build -- ROTT=rott-superrott   SHAREWARE=0 SUPERROTT=1
	# Site License CD Version
	$(MAKE) -C rott tidy
	dh_auto_build -- ROTT=rott-sitelicense SHAREWARE=0 SITELICENSE=1