#!/usr/bin/make -f clean: stamp-patch dh_testdir make distclean if [ -e stamp-patch ]; then \ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2; \ rm -f stamp-patch; \ fi rm -f stamp-* # This is left by a quilt push/pop sequence rm -rf .pc dh_clean stamp-patch: if [ ! -e stamp-patch ]; then \ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2; \ fi touch $@ build: stamp-patch make tricall make triangle make showme ar cr libtriangle.a triangle.o rm -f triangle.o $(CC) -O -DLINUX -DTRILIBRARY -fPIC -DPIC -c -o triangle.o triangle.c $(CC) -shared triangle.o -o libtriangle-1.6.so -lm -Wl,-soname,libtriangle-1.6.so ln -s libtriangle-1.6.so libtriangle.so install: binary-indep: binary-arch: dh_testdir -a dh_testroot -a dh_install -a dh_installdocs -a dh_installchangelogs -a dh_strip -a dh_makeshlibs -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-arch binary-indep .PHONY: binary binary-arch binary-indep clean install build