mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[misc] separated ms-sys dependency from application
* set ms-sys to be built as a library * also removed unused code from badblocks.c
This commit is contained in:
parent
01d1d74f04
commit
dc010cc418
56 changed files with 1129 additions and 459 deletions
|
@ -18,7 +18,23 @@ set PWD=%~dp0
|
|||
set ARCH_DIR=%_BUILDARCH%
|
||||
if /I Test%_BUILDARCH%==Testx86 set ARCH_DIR=i386
|
||||
|
||||
cd src
|
||||
::# MS-SYS Library
|
||||
cd src\ms-sys
|
||||
if EXIST Makefile ren Makefile Makefile.hide
|
||||
|
||||
copy .msvc\ms-sys_sources sources >NUL 2>&1
|
||||
|
||||
@echo on
|
||||
%BUILD_CMD%
|
||||
@echo off
|
||||
if errorlevel 1 goto builderror
|
||||
copy obj%BUILD_ALT_DIR%\%ARCH_DIR%\ms-sys.lib . >NUL 2>&1
|
||||
|
||||
if EXIST Makefile.hide ren Makefile.hide Makefile
|
||||
if EXIST sources del sources >NUL 2>&1
|
||||
|
||||
::# Rufus Application
|
||||
cd ..
|
||||
if EXIST Makefile ren Makefile Makefile.hide
|
||||
|
||||
copy .msvc\rufus_sources sources >NUL 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue