File: rules

package info (click to toggle)
examl 3.0.21-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,396 kB
  • sloc: ansic: 31,427; sh: 47; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 546 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
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

MFILES:=$(shell cd examl && ls *.gcc)
SRCDIR:=examl

%:
	dh $@  --sourcedirectory=$(SRCDIR)

override_dh_auto_clean:
	dh_auto_clean
	for mfile in $(MFILES); do $(MAKE) --directory=$(SRCDIR) -f $${mfile} clean ; done
	$(MAKE) --directory=parser -f Makefile.SSE3.gcc clean

override_dh_auto_build:
	dh_auto_build
	for mfile in $(MFILES); do $(MAKE) --directory=$(SRCDIR) -f $${mfile} ; done
	$(MAKE) --directory=parser -f Makefile.SSE3.gcc