mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
Makefile: Remove coverage files on 'make clean'
This patch updates a variety of Makefiles in Asterisk's build system to remove .gcda and .gcno files when 'make clean' is executed. These files are generated when '--enable-coverage' is passed to the Asterisk configure script. Change-Id: Ib70b41eea2ee2908885bff02e80faf9f40c84602
This commit is contained in:
@@ -28,7 +28,7 @@ all: _all
|
||||
include $(ASTTOPDIR)/Makefile.moddir_rules
|
||||
|
||||
clean::
|
||||
rm -f confbridge/*.o confbridge/*.i
|
||||
rm -f confbridge/*.o confbridge/*.i confbridge/*.gcda confbridge/*.gcno
|
||||
|
||||
$(if $(filter app_confbridge,$(EMBEDDED_MODS)),modules.link,app_confbridge.so): $(subst .c,.o,$(wildcard confbridge/*.c))
|
||||
$(subst .c,.o,$(wildcard confbridge/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,app_confbridge)
|
||||
|
||||
Reference in New Issue
Block a user