aboutsummaryrefslogtreecommitdiff
path: root/make_abc.sh
blob: 1f7d5fd8595eff5c03b512bc31bbe99d72a4e242 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
libs="Directory Dynamics Gast GraphCopy StdEnv TCPIP Platform Platform/Deprecated/ArgEnv Platform/Deprecated/Generics Platform/Deprecated/MersenneTwister Platform/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 "-IL ${libs// / -IL }") -ABC "$mod"
	done
done