Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Malleable_CG
Commits
7cf80e77
Commit
7cf80e77
authored
Oct 11, 2023
by
iker_martin
Browse files
Modifcations of Makefile for working without MKL
parent
d6036a92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
7cf80e77
...
...
@@ -18,7 +18,7 @@ BIN = a.out
BUILD_DIR
=
./build
# 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.
C_FILES
=
$(
foreach
dire,
$(SRCDIRS)
,
$(
wildcard
$(dire)
/
*
.c
))
...
...
@@ -33,7 +33,8 @@ $(BIN) : $(BUILD_DIR)/$(BIN)
# Actual target of the binary - depends on all .o files.
$(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
# .d files are used for knowing the dependencies of each source file
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment