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