aboutsummaryrefslogtreecommitdiff
path: root/make_abc.sh
diff options
context:
space:
mode:
authorCamil Staps2016-10-19 01:15:15 +0200
committerCamil Staps2016-10-19 01:15:23 +0200
commit97d642004a148477f082598f59429889f95f322e (patch)
tree2357bb1265ec5b2e596166c0c930ab107f0b0fb4 /make_abc.sh
parentHeap size (diff)
Resolve #3: remove warnings at first run
Diffstat (limited to 'make_abc.sh')
-rwxr-xr-xmake_abc.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/make_abc.sh b/make_abc.sh
new file mode 100755
index 0000000..3d386d7
--- /dev/null
+++ b/make_abc.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+libs="ArgEnv Directory Dynamics Gast Generics MersenneTwister StdEnv StdLib TCPIP clean-platform/OS-Independent clean-platform/OS-Posix clean-platform/OS-Linux clean-platform/OS-Linux-64 clean-platform/OS-Independent/Deprecated/StdLib"
+shopt -s globstar
+for lib in $libs
+do
+ dir="/opt/clean/lib/$lib/"
+ cd "$dir"
+ for mod in **/*.icl
+ do
+ if [[ "$mod" == "**/*.icl" ]]; then continue; fi
+ mod="${mod/.icl/}"
+ mod="${mod/\//.}"
+ clm $(echo "-I /opt/clean/lib/${libs// / -I \/opt\/clean\/lib\/}") -ABC "$mod"
+ done
+done