Machine Interface Utility:VER1.0
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
set SRC_DIR=..\src
|
||||
|
||||
call make_clean.bat
|
||||
|
||||
copy sources_dll sources >NUL
|
||||
|
||||
copy %SRC_DIR%\*.c . >NUL
|
||||
copy ..\*.def . >NUL
|
||||
copy %SRC_DIR%\*.h . >NUL
|
||||
copy %SRC_DIR%\*.rc . >NUL
|
||||
copy %SRC_DIR%\driver\driver_api.h . >NUL
|
||||
|
||||
ECHO Building (%BUILD_ALT_DIR%) %0..
|
||||
CALL build_ddk.bat %*
|
||||
IF %BUILD_ERRORLEVEL%==0 GOTO BUILD_SUCCESS
|
||||
GOTO BUILD_ERROR
|
||||
|
||||
:BUILD_ERROR
|
||||
ECHO [%0] WinDDK build failed (%BUILD_ALT_DIR%)
|
||||
EXIT /B 1
|
||||
|
||||
:BUILD_SUCCESS
|
||||
if exist libusb0.lib move /Y libusb0.lib libusb.lib >NUL
|
||||
:BUILD_DONE
|
||||
Reference in New Issue
Block a user