summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boilerplate/.gitignore1
-rw-r--r--boilerplate/Makefile.am16
2 files changed, 13 insertions, 4 deletions
diff --git a/boilerplate/.gitignore b/boilerplate/.gitignore
index e761d780..befd40a7 100644
--- a/boilerplate/.gitignore
+++ b/boilerplate/.gitignore
@@ -14,3 +14,4 @@ tags
*.pdb
*~
.*.sw?
+check-link
diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am
index 513edf37..a42179bc 100644
--- a/boilerplate/Makefile.am
+++ b/boilerplate/Makefile.am
@@ -96,8 +96,16 @@ INCLUDES = \
CLEANFILES = \
$(EXTRA_LTLIBRARIES)
-# Delete intermediate files as well
-clean-local:
- -${FIND} . -name '*.[is]' -print | ${XARGS} ${RM}
+CLEANFILES += *.i *.s
-check test: libcairoboilerplate.la
+test: check
+
+TESTS =
+if CROSS_COMPILING
+else
+TESTS += check-link
+endif
+
+EXTRA_PROGRAMS = check-link
+check_link_LDADD = libcairoboilerplate.la
+CLEANFILES += check-link