first commit
This commit is contained in:
24
make_all.sh
Normal file
24
make_all.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ $# == 0 ]; then
|
||||
bash gen_makefiles.sh
|
||||
else
|
||||
bash gen_makefiles.sh $1
|
||||
if [ $? == 2 ]; then
|
||||
exit 2
|
||||
fi
|
||||
fi
|
||||
|
||||
cd build
|
||||
|
||||
for program in *; do
|
||||
cd $program
|
||||
for lang_name in *; do
|
||||
cd $lang_name
|
||||
make
|
||||
cd ..
|
||||
done
|
||||
cd ..
|
||||
done
|
||||
|
||||
cd ..
|
||||
Reference in New Issue
Block a user