aboutsummaryrefslogtreecommitdiff
path: root/test/example_packages/makefile_complex
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-10-26 17:16:44 -0500
committerGitHub <noreply@github.com>2020-10-26 17:16:44 -0500
commit4443986b3d5690ce4ee8bbc348834caa2040be23 (patch)
tree0553b054c43c89edab17a3d6959f7adb84648a61 /test/example_packages/makefile_complex
parente92d9c9c406aff61d404d2afe71c416ed019beb0 (diff)
parent488bdd06ab78cec3085aa86b6dbe36a98f58eb86 (diff)
downloadfpm-4443986b3d5690ce4ee8bbc348834caa2040be23.tar.gz
fpm-4443986b3d5690ce4ee8bbc348834caa2040be23.zip
Merge pull request #213 from everythingfunctional/bootstrap_submodule_support
Bootstrap submodule support
Diffstat (limited to 'test/example_packages/makefile_complex')
-rw-r--r--test/example_packages/makefile_complex/.gitignore1
-rw-r--r--test/example_packages/makefile_complex/Makefile9
-rw-r--r--test/example_packages/makefile_complex/app/main.f907
-rw-r--r--test/example_packages/makefile_complex/fpm.toml8
-rw-r--r--test/example_packages/makefile_complex/src/wrapper_mod.f9012
5 files changed, 0 insertions, 37 deletions
diff --git a/test/example_packages/makefile_complex/.gitignore b/test/example_packages/makefile_complex/.gitignore
deleted file mode 100644
index a007fea..0000000
--- a/test/example_packages/makefile_complex/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-build/*
diff --git a/test/example_packages/makefile_complex/Makefile b/test/example_packages/makefile_complex/Makefile
deleted file mode 100644
index 497c6b2..0000000
--- a/test/example_packages/makefile_complex/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-INCLUDE_FLAGS = $(addprefix -I,$(INCLUDE_DIRS))
-
-$(BUILD_DIR)/libmakefile_complex.a: $(BUILD_DIR)/wrapper_mod.o
- ar rs $(@) $(^)
-
-$(BUILD_DIR)/wrapper_mod.mod: src/wrapper_mod.f90
-
-$(BUILD_DIR)/wrapper_mod.o: src/wrapper_mod.f90
- $(FC) -c -J$(BUILD_DIR) $(INCLUDE_FLAGS) $(FFLAGS) -o $(@) $(<)
diff --git a/test/example_packages/makefile_complex/app/main.f90 b/test/example_packages/makefile_complex/app/main.f90
deleted file mode 100644
index ac9ed51..0000000
--- a/test/example_packages/makefile_complex/app/main.f90
+++ /dev/null
@@ -1,7 +0,0 @@
-program makefile_complex
- use wrapper_mod, only: do_stuff
-
- implicit none
-
- call do_stuff
-end program makefile_complex
diff --git a/test/example_packages/makefile_complex/fpm.toml b/test/example_packages/makefile_complex/fpm.toml
deleted file mode 100644
index 3282cbe..0000000
--- a/test/example_packages/makefile_complex/fpm.toml
+++ /dev/null
@@ -1,8 +0,0 @@
-name = "makefile_complex"
-
-[dependencies]
-with_makefile = { path = "../with_makefile" }
-
-[library]
-source-dir = "src"
-build-script = "Makefile"
diff --git a/test/example_packages/makefile_complex/src/wrapper_mod.f90 b/test/example_packages/makefile_complex/src/wrapper_mod.f90
deleted file mode 100644
index e8028b5..0000000
--- a/test/example_packages/makefile_complex/src/wrapper_mod.f90
+++ /dev/null
@@ -1,12 +0,0 @@
-module wrapper_mod
- use hello_makefile, only: say_hello_from_makefile
-
- implicit none
- private
-
- public :: do_stuff
-contains
- subroutine do_stuff
- call say_hello_from_makefile
- end subroutine do_stuff
-end module wrapper_mod