#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: dh $@ --buildsystem=none override_dh_auto_build: $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c CuTest.c -o CuTest.o $(AR) rcs libcutest.a CuTest.o override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) $(CC) $(CPPFLAGS) $(CFLAGS) -I. -o AllTests AllTests.c CuTestTest.c libcutest.a -lm ./AllTests endif override_dh_auto_clean: rm -f CuTest.o libcutest.a AllTests