diff --git a/justfile b/justfile index 0007cd2..da2a97b 100644 --- a/justfile +++ b/justfile @@ -30,8 +30,9 @@ run-tests cc=default_cc: (build-tests cc) done nmake-tests: + New-Item {{ outpath }} -ItemType Directory -ea 0 nmake -f nmakefile - Get-ChildItem build -Filter *.exe | Foreach-Object { & $_.FullName } + Get-ChildItem {{ outpath }} -Filter *.exe | Foreach-Object { & $_.FullName } clean: - rm -r ./build + rm -r {{ outpath }} diff --git a/nmakefile b/nmakefile index c5c1d1f..e599df1 100755 --- a/nmakefile +++ b/nmakefile @@ -1,4 +1,3 @@ - CC = cl INCLUDES = ./include CXXFLAGS = /std:c++20 /EHs /Wall /Fo./build/ @@ -7,7 +6,6 @@ EXES = $(**:.cpp=.exe) .SUFFIXES: .cpp .exe all: tests\*.cpp - mkdir build $(MAKE) /f nmakefile $(EXES:tests=build) {tests\}.cpp{build\}.exe: