diff options
-rw-r--r-- | libnet/msvcbuild.bat | 2 | ||||
-rw-r--r-- | lua/msvcbuild.bat | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libnet/msvcbuild.bat b/libnet/msvcbuild.bat index e2d62df..2cfc3dc 100644 --- a/libnet/msvcbuild.bat +++ b/libnet/msvcbuild.bat @@ -20,3 +20,5 @@ if exist libnet.dll.manifest^ %MYMT% -manifest libnet.dll.manifest -outputresource:libnet.dll;2
cd ..
+exit /b %errorlevel%
+
diff --git a/lua/msvcbuild.bat b/lua/msvcbuild.bat index 5480984..0206ecf 100644 --- a/lua/msvcbuild.bat +++ b/lua/msvcbuild.bat @@ -9,9 +9,9 @@ @set MYLINK=link /nologo
@set MYMT=mt /nologo
-@set LUA=..\..\lua-5.1\src
+@set LUA=..\..\lua\src
@set WINPCAP=..\..\WpdPack
-@set DNET=..\..\libdnet-1.11-win32
+@set DNET=..\..\libdnet
copy dnet.h.win32 dnet.h
%MYCOMPILE% /I..\libnet\include /I%LUA% /I%WINPCAP%\Include /I%DNET%\include *.c
@@ -19,3 +19,5 @@ copy dnet.h.win32 dnet.h if exist net.dll.manifest^
%MYMT% -manifest net.dll.manifest -outputresource:net.dll;2
+exit /b %errorlevel%
+
|