File: rules

package info (click to toggle)
easychem 0.6-8
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,640 kB
  • ctags: 1,531
  • sloc: ansic: 9,019; makefile: 25
file content (17 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

#export DH_VERBOSE=1

PACKAGE = easychem

export CFLAGS  = $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CFLAGS)
export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs  -Wl,--as-needed

%:
	dh $@ --buildsystem=makefile --parallel

override_dh_auto_build:
	dh_auto_build -- -f Makefile.linux all

override_dh_auto_clean:
	dh_auto_clean -- -f Makefile.linux