Add 'make clean' for windows

This commit is contained in:
pancake 2021-11-14 02:04:05 +01:00
parent e9c6584417
commit e5f8f9fa3d
3 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,3 @@
subdir('d')
r_bin_sources = [
'bin.c',

View file

@ -1,5 +1,9 @@
:: Build (and eventually install) r2 for windows
@echo off
if "%*" == "clean" (
wsl rm -rf b vs
exit /b 0
)
ninja --version > NUL 2> NUL
if %ERRORLEVEL% == 0 (
if EXIST b (

View file

@ -621,7 +621,7 @@ subdir('libr/core')
# subdir('libr/anal/d')
# subdir('libr/asm/d')
# subdir('libr/bin/d')
subdir('libr/bin/d')
# subdir('libr/syscall/d')
subdir('libr/cons/d')
subdir('libr/magic/d')