mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 19:51:48 +01:00
40 lines
1.2 KiB
Makefile
Executable File
40 lines
1.2 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
# Copyright (C) 2011-2015 Hunter Kaller
|
|
# Copyright (C) 2014, 2015 Sergio Benjamim
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh $@ --parallel
|
|
|
|
ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
|
|
|
|
override_dh_auto_build:
|
|
ifeq ($(ARCH),armhf)
|
|
$(MAKE) -f Makefile.libretro platform="armv hardfloat"
|
|
else
|
|
$(MAKE) -f Makefile.libretro
|
|
endif
|
|
|
|
override_dh_auto_install:
|
|
cp *.so debian/libretro-*/usr/lib/libretro/
|
|
|
|
override_dh_auto_clean:
|
|
$(MAKE) -f Makefile.libretro clean
|