From: Jérôme Benoit Date: Sat, 3 Jun 2017 14:45:30 +0000 (+0200) Subject: TP_13: Fix the clean target for Mac OS X X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=febba652210de86f4a2152364de0756f330f100d;p=TD_C.git TP_13: Fix the clean target for Mac OS X Signed-off-by: Jérôme Benoit --- diff --git a/TP_13/exo2/Makefile b/TP_13/exo2/Makefile index c4660a5..e77c616 100644 --- a/TP_13/exo2/Makefile +++ b/TP_13/exo2/Makefile @@ -179,7 +179,9 @@ clean: @echo "[CLN]" -@rm -r $(BUILDDIR) -@rm $(BINARY_NAME)$(BINARY_SUFFIX) +ifneq ($(UNAME),Darwin) -@rm $(BINARY_NAME).static$(BINARY_SUFFIX) +endif -@rm $(BINARY_NAME).dynamic$(BINARY_SUFFIX) -@rm $(LIBRARY_PATH)/$(SLIB_PREFIX)$(LIBRARY_NAME)$(SLIB_SUFFIX) ifeq ($(filter-out CYGWIN_NT,$(UNAME)),CYGWIN_NT)