2004-01-31 20:56:22 +00:00
|
|
|
#!/bin/bash
|
2004-02-15 02:33:49 +00:00
|
|
|
|
2004-03-07 14:38:39 +00:00
|
|
|
# AMX Mod X
|
2004-02-15 02:33:49 +00:00
|
|
|
#
|
2004-03-07 14:38:39 +00:00
|
|
|
# by the AMX Mod X Development Team
|
|
|
|
# originally developed by OLO
|
|
|
|
#
|
|
|
|
# This file is part of AMX Mod X.
|
2004-02-15 02:33:49 +00:00
|
|
|
|
2004-09-17 06:11:14 +00:00
|
|
|
# new code contributed by \malex\
|
|
|
|
|
2004-01-31 20:56:22 +00:00
|
|
|
test -e compiled || mkdir compiled
|
2005-10-29 02:13:29 +00:00
|
|
|
rm temp.txt
|
2004-09-17 06:11:14 +00:00
|
|
|
|
|
|
|
for sourcefile in *.sma
|
|
|
|
do
|
|
|
|
amxxfile="`echo $sourcefile | sed -e 's/\.sma$/.amxx/'`"
|
|
|
|
echo -n "Compiling $sourcefile ..."
|
2005-08-18 07:05:33 +00:00
|
|
|
./amxxpc $sourcefile -ocompiled/$amxxfile >> temp.txt
|
2004-09-17 06:11:14 +00:00
|
|
|
echo "done"
|
|
|
|
done
|
|
|
|
|
|
|
|
less temp.txt
|
2004-09-17 00:51:20 +00:00
|
|
|
rm temp.txt
|