From 9e0480a996e9a3afcf73bade55163b053cbd8f76 Mon Sep 17 00:00:00 2001 From: Sebastien Duthil Date: Wed, 11 Dec 2019 16:30:59 -0500 Subject: [PATCH] Makefile: fix test files not cleaned Why: * When running make clean, the following files are not cleaned: daemon/dtmf_rx_fillin-test.c daemon/dtmf_rx_fillin-test daemon/fix_frame_channel_layout-test.c daemon/fix_frame_channel_layout-test ... --- lib/common.Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.Makefile b/lib/common.Makefile index d9454fd7d..e4fc0cf0e 100644 --- a/lib/common.Makefile +++ b/lib/common.Makefile @@ -15,7 +15,7 @@ BUILD_TEST_ALTS = fix_frame_channel_layout.h dtmf_rx_fillin.h clean: rm -f $(OBJS) $(TARGET) $(LIBSRCS) $(DAEMONSRCS) $(MANS) $(ADD_CLEAN) .depend core core.* - rm -f $(BUILD_TEST_ALTS) $(BUILD_TEST_ALTS:.h=-test{.c,}) *.strhash.c $(HASHSRCS) + rm -f $(BUILD_TEST_ALTS) $(BUILD_TEST_ALTS:.h=-test.c) $(BUILD_TEST_ALTS:.h=-test) *.strhash.c $(HASHSRCS) .depend: $(SRCS) $(LIBSRCS) $(DAEMONSRCS) Makefile $(CC) $(CFLAGS) -M $(SRCS) $(LIBSRCS) $(DAEMONSRCS) | sed -e 's/:/ .depend:/' > .depend