From c569e81edc5607e50f11d7685b68b6c2cd0cbc64 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 10 Sep 2016 09:46:24 -0400 Subject: [PATCH] Cleaned dylib artifacts --- GNUmakefile | 3 +++ GNUmakefile-cross | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 6a25db67..4de9d10a 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -537,6 +537,9 @@ endif ifneq ($(wildcard *.exe.dSYM),) -$(RM) -r *.exe.dSYM/ endif +ifneq ($(wildcard *.dylib.dSYM),) + -$(RM) -r *.dylib.dSYM/ +endif ifneq ($(wildcard cov-int/),) -$(RM) -r cov-int/ endif diff --git a/GNUmakefile-cross b/GNUmakefile-cross index 17fecb02..65849af9 100755 --- a/GNUmakefile-cross +++ b/GNUmakefile-cross @@ -165,8 +165,11 @@ ifeq ($(HAS_SOLIB_VERSION),1) -$(RM) libcryptopp.so libcryptopp.so$(SOLIB_COMPAT_SUFFIX) endif -$(RM) adhoc.cpp.o adhoc.cpp.proto.o $(LIBOBJS) $(TESTOBJS) -ifneq ($(wildcard *.dSYM),) - -$(RM) -r cryptest.exe.dSYM +ifneq ($(wildcard *.exe.dSYM),) + -$(RM) -r *.exe.dSYM/ +endif +ifneq ($(wildcard *.dylib.dSYM),) + -$(RM) -r *.dylib.dSYM/ endif .PHONY: distclean