From 2ebc450132bacf42ef60d7d8f70c5f70e5868d83 Mon Sep 17 00:00:00 2001 From: fedir Date: Wed, 11 Jun 2025 18:11:14 +0200 Subject: [PATCH] Fixed Makefile errors --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9d0595a..ee41c2d 100644 --- a/Makefile +++ b/Makefile @@ -70,10 +70,10 @@ default: $(TARGETS) .PHONY: clean icfs_test clean-icfs clean-icfs_dialogue install uninstall $(BUILD_DIR): - if [[ ! -d "FILE" ]]; then mkdir $(BUILD_DIR) fi + if [[ ! -d "$(BUILD_DIR)" ]]; then mkdir $(BUILD_DIR); fi $(BUILD_DIR)/icfs_dialogue: - make -C $(SOURCES_DIR)/gui TEST=$(TEST) DEBUG=$(shell realpath $(DEBUG)) SOURCES_DIR=$(shell realpath $(SOURCES_DIR)/gui) BUILD_DIR=$(shell realpath $(BUILD_DIR)) TESTS_DIR=$(shell realpath $(TESTS_DIR)) $(BUILD_DIR) + make -C $(SOURCES_DIR)/gui TEST=$(TEST) DEBUG=$(DEBUG) SOURCES_DIR=$(shell realpath $(SOURCES_DIR)/gui) BUILD_DIR=$(shell realpath $(BUILD_DIR)) TESTS_DIR=$(shell realpath $(TESTS_DIR)) $(BUILD_DIR)/icfs: $(BUILD_DIR)/main.o $(BUILD_DIR)/fuse_operations.o $(BUILD_DIR)/sourcefs.o $(BUILD_DIR)/ui-socket.o $(BUILD_DIR)/temp_permissions_table.o $(BUILD_DIR)/perm_permissions_table.o $(BUILD_DIR)/proc_operations.o $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $(BUILD_DIR)/icfs