Is that new compiler included in 0.1?
Because my batch file spits out errors..
Quote:
Small compiler 2.4 Copyright (c) 1997-2003, ITB CompuPhase
teams2.sma(29) : fatal error 100: cannot read from file: "ns2amx"
Compilation aborted.
1 Error.
compiled\sqladmin.amx
1 file(s) copied.
Press any key to continue . . .
|
So now the batch file is 2 lines w/o comments:
Code:
for %%i in (*.sma) do sc %%i -o..\plugins\%%i
pause
Much simpler
Whats the -d0 do to the small compiler?
You do *NOT* need the $(FileName) -o..\plugins\$(FileTitle).amx , the small compiler is renaming them by itself, so you just need $(FileName) -o..\plugins\$(FileTitle)
Edit: I have a suggestion about the sma files that are the defualt ones, move them to a seperate folder - like defualt, so they are not compiled with the batch file every time you run it