Fixed Makefile errors
This commit is contained in:
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user