TP_13: Fix the clean target for Mac OS X
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 3 Jun 2017 14:45:30 +0000 (16:45 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 3 Jun 2017 14:45:30 +0000 (16:45 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
TP_13/exo2/Makefile

index c4660a58ded2e21a20b3f01cc98e4db139de73e3..e77c61690d20a4b9ae0810feeb972de5beccd343 100644 (file)
@@ -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)