Commit 7cf80e77 authored by iker_martin's avatar iker_martin
Browse files

Modifcations of Makefile for working without MKL

parent d6036a92
...@@ -18,7 +18,7 @@ BIN = a.out ...@@ -18,7 +18,7 @@ BIN = a.out
BUILD_DIR = ./build BUILD_DIR = ./build
# List of all directories where source files are located # List of all directories where source files are located
SRCDIRS = IOcodes Main malleability malleability/spawn_methods malleability/distribution_methods SRCDIRS = Main malleability malleability/spawn_methods malleability/distribution_methods
# List of all .c source files. # List of all .c source files.
C_FILES = $(foreach dire, $(SRCDIRS), $(wildcard $(dire)/*.c)) C_FILES = $(foreach dire, $(SRCDIRS), $(wildcard $(dire)/*.c))
...@@ -33,7 +33,8 @@ $(BIN) : $(BUILD_DIR)/$(BIN) ...@@ -33,7 +33,8 @@ $(BIN) : $(BUILD_DIR)/$(BIN)
# Actual target of the binary - depends on all .o files. # Actual target of the binary - depends on all .o files.
$(BUILD_DIR)/$(BIN) : $(OBJ) $(BUILD_DIR)/$(BIN) : $(OBJ)
$(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS) $(LIBMONO) $(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS)
# $(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS) $(LIBMONO)
# Include all .d files # Include all .d files
# .d files are used for knowing the dependencies of each source file # .d files are used for knowing the dependencies of each source file
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment