From 4bc1b39c1c1e9cf72cb8e7152cde2b94060b9fb7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 30 May 2013 15:24:22 -0600 Subject: [PATCH] The Makefile in every directory that can generate a .dSYM should also clean .dSYM files --- examples/igmp/.gitignore | 1 - examples/nettest/Makefile | 1 + examples/poll/Makefile | 1 + examples/posix_spawn/filesystem/hello/Makefile | 1 + examples/posix_spawn/filesystem/redirect/Makefile | 1 + examples/udp/Makefile | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/igmp/.gitignore b/examples/igmp/.gitignore index cfcfc3a67..c2a890874 100644 --- a/examples/igmp/.gitignore +++ b/examples/igmp/.gitignore @@ -11,4 +11,3 @@ /*.lib /*.src /*.exe -/*.dSYM diff --git a/examples/nettest/Makefile b/examples/nettest/Makefile index c533c9dd5..727773f69 100644 --- a/examples/nettest/Makefile +++ b/examples/nettest/Makefile @@ -135,6 +135,7 @@ clean: $(call DELFILE, *$(HOSTOBJEXT)) $(call DELFILE, $(HOST_BIN)) $(call DELFILE, .built) + $(call DELFILE, *.dSYM) $(call CLEAN) distclean: clean diff --git a/examples/poll/Makefile b/examples/poll/Makefile index 13173f125..7507e6449 100644 --- a/examples/poll/Makefile +++ b/examples/poll/Makefile @@ -94,5 +94,6 @@ distclean: clean $(call DELFILE, Make.dep) $(call DELFILE, .depend) $(call DELFILE, host$(HOSTEXEEXT)) + $(call DELFILE, *.dSYM) -include Make.dep diff --git a/examples/posix_spawn/filesystem/hello/Makefile b/examples/posix_spawn/filesystem/hello/Makefile index 5cd80411b..ac67f84a0 100644 --- a/examples/posix_spawn/filesystem/hello/Makefile +++ b/examples/posix_spawn/filesystem/hello/Makefile @@ -52,6 +52,7 @@ $(BIN): $(OBJS) clean: $(call DELFILE, $(BIN)) + $(call DELFILE, *.dSYM) $(call CLEAN) install: diff --git a/examples/posix_spawn/filesystem/redirect/Makefile b/examples/posix_spawn/filesystem/redirect/Makefile index e5f5e985c..59aba9a75 100644 --- a/examples/posix_spawn/filesystem/redirect/Makefile +++ b/examples/posix_spawn/filesystem/redirect/Makefile @@ -52,6 +52,7 @@ $(BIN): $(OBJS) clean: $(call DELFILE, $(BIN)) + $(call DELFILE, *.dSYM) $(call CLEAN) install: diff --git a/examples/udp/Makefile b/examples/udp/Makefile index 9c35cc94f..118c42307 100644 --- a/examples/udp/Makefile +++ b/examples/udp/Makefile @@ -119,6 +119,7 @@ clean: $(call DELFILE, .built) $(call DELFILE, $(TARG_BIN)) $(call DELFILE, $(HOST_BIN)) + $(call DELFILE, *.dSYM) $(call CLEAN) distclean: clean