Skip to content

Commit

Permalink
Merge pull request #1001 from adcroft/make-src-dependency
Browse files Browse the repository at this point in the history
Adds dependency on source code
  • Loading branch information
marshallward authored Sep 19, 2019
2 parents 4ad044d + 507ac20 commit 57c00c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .testing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ else
TARGET_CODEBASE =
endif

SOURCE = $(wildcard $(BASE)/src/*/*.F90 $(BASE)/src/*/*/*.F90 $(BASE)/config_src/solo_driver/*.F90)

#---
# Rules
Expand Down Expand Up @@ -110,7 +111,7 @@ $(BUILD)/target/path_names: $(LIST_PATHS) $(TARGET_CODEBASE)
$(TARGET_CODEBASE)/config_src/solo_driver \
$(TARGET_CODEBASE)/$(GRID_SRC)

$(BUILD)/%/path_names: $(LIST_PATHS)
$(BUILD)/%/path_names: $(LIST_PATHS) $(SOURCE)
mkdir -p $(@D)
cd $(@D) && $(LIST_PATHS) -l \
$(BASE)/src \
Expand Down

0 comments on commit 57c00c8

Please sign in to comment.