File: rules

package info (click to toggle)
empire 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 460 kB
  • ctags: 558
  • sloc: ansic: 5,304; xml: 1,009; makefile: 92
file content (21 lines) | stat: -rwxr-xr-x 539 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
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS   := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) -Wno-format-security
LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@ --parallel

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS)" PROFILE="$(LDFLAGS)"
	convert -monitor -resize 32x32 empire-logo.png empire-logo.xpm

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_install:
	mv vms-empire empire
	dh_install

override_dh_auto_clean:
	$(RM) *.o empire empire-logo.xpm