From 62a6faeb761a49de3a98920638a40975f11af375 Mon Sep 17 00:00:00 2001 From: Nikolai Nosov Date: Thu, 16 Apr 2020 13:26:18 +0400 Subject: [PATCH] clean-up Makefile --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index e2c6d02..40ad605 100644 --- a/src/Makefile +++ b/src/Makefile @@ -45,8 +45,8 @@ FLAGS = -Wall -ggdb -fPIC -O3 -rdynamic -D_GNU_SOURCE -D__STDC_FORMAT_MACROS -D all: $(LIB_STATIC) $(LIB_SHARED) clean: - ${RM} $(BUILD_DIR)/*.o $(BUILD_DIR)/*.dep $(BIN) $(LIB_STATIC) $(BUILD_DIR)/prepare.bld $(RESULT_DIR)/prepare.res $(BUILD_DIR)/version.h \ - $(LIB_STATIC) $(LIB_DYNAMIC) $(RESULT_DIR)/simple + ${RM} $(BUILD_DIR)/*.o $(BUILD_DIR)/*.dep $(LIB_STATIC) $(BUILD_DIR)/prepare.bld $(RESULT_DIR)/prepare.res $(BUILD_DIR)/version.h \ + $(LIB_STATIC) $(LIB_SHARED) $(RESULT_DIR)/simple @if [ -z "$$(ls -A $(BUILD_DIR) 2>&1)" ]; then ${RM} -r $(BUILD_DIR); fi @if [ -z "$$(ls -A $(RESULT_DIR) 2>&1)" ]; then ${RM} -r $(RESULT_DIR); fi