diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-02 22:00:05 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-02 22:00:05 -0400 |
commit | 0234fb9197edbba14a4cb8cc7dda1778f49e3fed (patch) | |
tree | 0ebeecb8014fb98026d89b11a39e8011b640ad72 /boilerplate | |
parent | 7e45937e21101648fd8dc01e1684a0515c10715b (diff) |
[boilerplate/check-link.c] Check that we can link to the built boilerplate
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/.gitignore | 1 | ||||
-rw-r--r-- | boilerplate/Makefile.am | 16 |
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 |