#!/usr/bin/make -f

PKG=simtec-able-libc-gcc-support

TARGET=debian/$(PKG)/opt/simtec/able/

clean:
	rm -f build-stamp
	dh_clean

build:
	touch build-stamp

binary:
	dh_prep
	dh_testdir
	dh_testroot
	mkdir -p $(TARGET) $(TARGET)/lib $(TARGET)/gcc-support-src
	# Yes, I know this will ignore directories, that's intentional
	cp libgcc-able.a $(TARGET)/lib
	cp Makefile *.c *.h COPYING README $(TARGET)/gcc-support-src
	dh_gencontrol
	dh_installdeb
	dh_md5sums
	dh_builddeb

