[Makefile.am] Delete intermediates

Clean up after calling 'gcc -save-temps'.
This commit is contained in:
Chris Wilson 2008-08-14 16:30:54 +01:00
parent 67326b728b
commit db7e3cb854
4 changed files with 13 additions and 0 deletions

View file

@ -102,4 +102,8 @@ INCLUDES = \
CLEANFILES = \
$(EXTRA_LTLIBRARIES)
# Delete intermediate files as well
clean-local:
-${FIND} . -name '*.[is]' -print | ${XARGS} ${RM}
check test: libcairoboilerplate.la

View file

@ -364,6 +364,10 @@ TESTS = check-def.sh check-plt.sh check-headers.sh check-cairoint.sh check-doc-s
EXTRA_DIST += $(TESTS) check-has-hidden-symbols.c
DISTCLEANFILES += check-has-hidden-symbols.i
# Delete intermediate files as well
clean-local:
-${FIND} . -name '*.[is]' -print | ${XARGS} ${RM}
# The pre-processed result is used by check-{def,plt}.sh to determine whether
# cairo has been compiled with symbol hiding.
.c.i: $(cairoinclude_HEADERS) $(nodist_cairoinclude_HEADERS) cairoint.h $(top_builddir)/config.h

View file

@ -921,6 +921,7 @@ clean-local:
-${FIND} . -name '*-out.png' -print | ${XARGS} ${RM}
-${FIND} . -name '*-diff.png' -print | ${XARGS} ${RM}
-${FIND} . -name '*.log' -print | ${XARGS} ${RM}
-${FIND} . -name '*.[is]' -print | ${XARGS} ${RM}
# The following definitions both should work.
#FAILED_TESTS = `grep -l '\<FAIL\>' $(TESTS:$(EXEEXT)=.log) 2>/dev/null | sed -e 's/[.]log$$//' | xargs echo`

View file

@ -15,3 +15,7 @@ perceptualdiff_SOURCES = \
INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src $(CAIRO_CFLAGS)
LDADD = libpdiff.la $(top_builddir)/src/libcairo.la
#
# Delete intermediate files as well
clean-local:
-${FIND} . -name '*.[is]' -print | ${XARGS} ${RM}