We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4405e9 commit d94913eCopy full SHA for d94913e
Makefile
@@ -0,0 +1,14 @@
1
+# Generate an executable with this name
2
+TARGET = tourexec
3
+
4
+# Define the compiler and flags to pass to that compiler
5
+CC = gfortran
6
+CFLAGS = -fno-automatic
7
8
+# Define the directories for source code and output binary executable
9
+SRC_DIR = src
10
+BIN_DIR = bin
11
12
+$(BIN_DIR)/$(TARGET): $(SRC_DIR)/*.f
13
+ @mkdir -p $(@D)
14
+ $(CC) $(CFLAGS) -o $@ $<
0 commit comments