We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1824507 commit 1b6e20cCopy full SHA for 1b6e20c
source/learn/building_programs/project_make.md
@@ -261,7 +261,7 @@ $2 ~ /^["'].+["']$/ {
261
# count included files per file to avoid having duplicates in our list
262
if (incc[FILENAME,$2]++ == 0) {
263
# Add the included file to our list, this might be case-sensitive
264
- inc[++ii] = sprintf("$(%s) += $(%s)", FILENAME, $2)
+ inc[++ii] = sprintf("$(%s) += %s", FILENAME, $2)
265
}
266
267
@@ -380,6 +380,10 @@ TEST_SRCS := src/tests/csv_read_test.f90 \
380
src/tests/csv_test.f90 \
381
src/tests/csv_write_test.f90
382
383
+# Add source and tests directories to search paths
384
+vpath % .: src
385
+vpath % .: src/tests
386
+
387
# Define a map from each file name to its object file
388
obj = $(src).o
389
$(foreach src, $(SRCS) $(TEST_SRCS), $(eval $(src) := $(obj)))
0 commit comments