File: rules

package info (click to toggle)
genesisplusgx 1.7.4%2Bgit20160410-1
  • links: PTS
  • area: non-free
  • in suites: buster, stretch
  • size: 8,460 kB
  • ctags: 8,372
  • sloc: ansic: 95,843; makefile: 348; sh: 3
file content (22 lines) | stat: -rwxr-xr-x 453 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

# Copyright (C) 2011-2015 Hunter Kaller
# Copyright (C) 2014-2016 Sergio Benjamim

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)

ifeq ($(ARCH),armhf)
	PLATFORM=platform="armv hardfloat"
endif

%:
	dh $@ --parallel

override_dh_auto_build:
	$(MAKE) -f Makefile.libretro $(PLATFORM) SHARED_LIBVORBIS=1

override_dh_auto_clean:
	$(MAKE) -f Makefile.libretro clean

override_dh_installchangelogs:
	dh_installchangelogs -k HISTORY.txt