From d5cb06305b6707a51d976cf79ae513c2fe023382 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Tue, 19 Nov 2013 17:50:05 +1300 Subject: Fix 'make distclean'. Automake's dependency tracking seems to be confused by our asm generation double-indirection. It's sufficient to have just CLEANFILES = $(CELT_AM_SOURCES_ARM_ASM:.s.in=-gnu.S) to fix the error about 'armopts-gnu.S' not being cleaned, but celt_pitch_xcorr_arm-gnu.S is also not cleaned without raising a warning. Therefore we explicitly clean both sets of ARM_ASM. --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cbedb502..ca8ed4d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,6 +38,9 @@ BUILT_SOURCES = $(CELT_SOURCES_ARM_ASM:.s=-gnu.S) \ endif endif +CLEANFILES = $(CELT_SOURCES_ARM_ASM:.s=-gnu.S) \ + $(CELT_AM_SOURCES_ARM_ASM:.s.in=-gnu.S) + include celt_headers.mk include silk_headers.mk include opus_headers.mk -- cgit v1.2.3