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