summaryrefslogtreecommitdiff
path: root/homebrew/dynare/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/dynare/.make.sh-auto')
-rw-r--r--homebrew/dynare/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/dynare/.make.sh-auto b/homebrew/dynare/.make.sh-auto
new file mode 100644
index 000000000..5a4c42f04
--- /dev/null
+++ b/homebrew/dynare/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+resource("slicot").stage do
+make lib OPTS=-fPIC SLICOTLIB=../libslicot_pic.a FORTRAN=gfortran LOADER=gfortran
+make clean
+make lib OPTS=-fPIC -fdefault-integer-8 FORTRAN=gfortran LOADER=gfortran SLICOTLIB=../libslicot64_pic.a
+(buildpath/"slicot").install "libslicot_pic.a", "libslicot64_pic.a"