diff options
author | Brad Richardson <everythingfunctional@protonmail.com> | 2020-10-26 17:16:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 17:16:44 -0500 |
commit | 4443986b3d5690ce4ee8bbc348834caa2040be23 (patch) | |
tree | 0553b054c43c89edab17a3d6959f7adb84648a61 /test/example_packages/with_makefile | |
parent | e92d9c9c406aff61d404d2afe71c416ed019beb0 (diff) | |
parent | 488bdd06ab78cec3085aa86b6dbe36a98f58eb86 (diff) | |
download | fpm-4443986b3d5690ce4ee8bbc348834caa2040be23.tar.gz fpm-4443986b3d5690ce4ee8bbc348834caa2040be23.zip |
Merge pull request #213 from everythingfunctional/bootstrap_submodule_support
Bootstrap submodule support
Diffstat (limited to 'test/example_packages/with_makefile')
-rw-r--r-- | test/example_packages/with_makefile/.gitignore | 1 | ||||
-rw-r--r-- | test/example_packages/with_makefile/Makefile | 9 | ||||
-rw-r--r-- | test/example_packages/with_makefile/fpm.toml | 5 | ||||
-rw-r--r-- | test/example_packages/with_makefile/src/hello_makefile.f90 | 10 |
4 files changed, 0 insertions, 25 deletions
diff --git a/test/example_packages/with_makefile/.gitignore b/test/example_packages/with_makefile/.gitignore deleted file mode 100644 index a007fea..0000000 --- a/test/example_packages/with_makefile/.gitignore +++ /dev/null @@ -1 +0,0 @@ -build/* diff --git a/test/example_packages/with_makefile/Makefile b/test/example_packages/with_makefile/Makefile deleted file mode 100644 index 51e72d4..0000000 --- a/test/example_packages/with_makefile/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -INCLUDE_FLAGS = $(addprefix -I,$(INCLUDE_DIRS)) - -$(BUILD_DIR)/libwith_makefile.a: $(BUILD_DIR)/hello_makefile.o - ar rs $(@) $(^) - -$(BUILD_DIR)/hello_makefile.mod: src/hello_makefile.f90 - -$(BUILD_DIR)/hello_makefile.o: src/hello_makefile.f90 - $(FC) -c -J$(BUILD_DIR) $(INCLUDE_FLAGS) $(FFLAGS) -o $(@) $(<) diff --git a/test/example_packages/with_makefile/fpm.toml b/test/example_packages/with_makefile/fpm.toml deleted file mode 100644 index 81dd02a..0000000 --- a/test/example_packages/with_makefile/fpm.toml +++ /dev/null @@ -1,5 +0,0 @@ -name = "with_makefile" - -[library] -source-dir = "src" -build-script = "Makefile" diff --git a/test/example_packages/with_makefile/src/hello_makefile.f90 b/test/example_packages/with_makefile/src/hello_makefile.f90 deleted file mode 100644 index 2d4d1a2..0000000 --- a/test/example_packages/with_makefile/src/hello_makefile.f90 +++ /dev/null @@ -1,10 +0,0 @@ -module hello_makefile - implicit none - private - - public :: say_hello_from_makefile -contains - subroutine say_hello_from_makefile() - print *, "Hello from Makefile library!" - end subroutine say_hello_from_makefile -end module hello_makefile |