#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# build the jaguar core and m68k libraries first,
# then build the actual emulator
override_dh_auto_build:
	make -f jaguarcore.mak
	make -C src/m68000
	dh_auto_build

# install docs/WHATSNEW as changelog.gz (Debian Policy 12.7)
override_dh_installchangelogs:
	dh_installchangelogs docs/WHATSNEW

%:
	dh $@
