diff --git a/plugins/compile.bat b/plugins/compile.bat index 68e375f4..368ae25b 100755 --- a/plugins/compile.bat +++ b/plugins/compile.bat @@ -1,12 +1,15 @@ @echo off rem AMX Mod X rem -rem (c) 2002-2004, OLO -rem modified by the AMX Mod X Development Team +rem by the AMX Mod X Development Team +rem originally developed by OLO +rem +rem This file is part of AMX Mod X. + if not exist compiled mkdir compiled if exist temp.txt del temp.txt -for %%i in (*.sma) do sc %%i -e%%i.txt -ocompiled\%%i >> temp.txt +for %%i in (*.sma) do sc %%i -ocompiled\%%i >> temp.txt copy compiled\*.sma compiled\*.amx del compiled\*.sma cls diff --git a/plugins/compile.sh b/plugins/compile.sh index 84fdad19..4e7d0e3a 100755 --- a/plugins/compile.sh +++ b/plugins/compile.sh @@ -1,12 +1,14 @@ #!/bin/bash -#AMX Mod X +# AMX Mod X # -# (c) 2002-2004, OLO -# modified by the AMX Mod X Development Team +# by the AMX Mod X Development Team +# originally developed by OLO +# +# This file is part of AMX Mod X. test -e compiled || mkdir compiled ls *.sma | xargs -i ./sc \{\} -ocompiled/\{\} > temp.txt ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amx more temp.txt -rm temp.txt +rm temp.txt \ No newline at end of file