@@ -23,7 +23,7 @@ installreqs: ## Install Python project requirements to root .venv
2323buildrng :
2424 @echo " Building and installing RNG library..."
2525 uv pip install nanobind
26- cd clibs /pecos-rng && CC=gcc CXX=g++ uv pip install --python $(shell uv run which python) -e .
26+ cd clib /pecos-rng && CC=gcc CXX=g++ uv pip install --python $(shell uv run which python) -e .
2727
2828# Building development environments
2929# ---------------------------------
@@ -155,12 +155,12 @@ clean-unix:
155155 @find . -type d -name " junit" -exec rm -rf {} +
156156 @find python -name " *.so" -delete
157157 @find python -name " *.pyd" -delete
158- @# Clean clibs build artifacts
159- @find clibs -type d -name " build" -exec rm -rf {} +
160- @find clibs -type d -name " dist" -exec rm -rf {} +
161- @find clibs -type d -name " *.egg-info" -exec rm -rf {} +
162- @find clibs -type d -name " .venv" -exec rm -rf {} +
163- @find clibs -name " uv.lock" -delete
158+ @# Clean clib build artifacts
159+ @find clib -type d -name " build" -exec rm -rf {} +
160+ @find clib -type d -name " dist" -exec rm -rf {} +
161+ @find clib -type d -name " *.egg-info" -exec rm -rf {} +
162+ @find clib -type d -name " .venv" -exec rm -rf {} +
163+ @find clib -name " uv.lock" -delete
164164 @# Clean all target directories in crates (in case they were built independently)
165165 @find crates -type d -name " target" -exec rm -rf {} +
166166 @find python -type d -name " target" -exec rm -rf {} +
@@ -182,12 +182,12 @@ clean-windows-ps:
182182 @powershell -Command " Get-ChildItem -Path . -Recurse -Directory -Filter '.hypothesis' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
183183 @powershell -Command " Get-ChildItem -Path . -Recurse -Directory -Filter 'junit' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
184184 @powershell -Command " Get-ChildItem -Path python -Recurse -File -Include '*.so','*.pyd' | Remove-Item -Force -ErrorAction SilentlyContinue"
185- @# Clean clibs build artifacts
186- @powershell -Command " Get-ChildItem -Path clibs -Recurse -Directory -Filter 'build' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
187- @powershell -Command " Get-ChildItem -Path clibs -Recurse -Directory -Filter 'dist' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
188- @powershell -Command " Get-ChildItem -Path clibs -Recurse -Directory -Filter '*.egg-info' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
189- @powershell -Command " Get-ChildItem -Path clibs -Recurse -Directory -Filter '.venv' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
190- @powershell -Command " Get-ChildItem -Path clibs -Recurse -File -Filter 'uv.lock' | Remove-Item -Force -ErrorAction SilentlyContinue"
185+ @# Clean clib build artifacts
186+ @powershell -Command " Get-ChildItem -Path clib -Recurse -Directory -Filter 'build' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
187+ @powershell -Command " Get-ChildItem -Path clib -Recurse -Directory -Filter 'dist' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
188+ @powershell -Command " Get-ChildItem -Path clib -Recurse -Directory -Filter '*.egg-info' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
189+ @powershell -Command " Get-ChildItem -Path clib -Recurse -Directory -Filter '.venv' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
190+ @powershell -Command " Get-ChildItem -Path clib -Recurse -File -Filter 'uv.lock' | Remove-Item -Force -ErrorAction SilentlyContinue"
191191 @# Clean all target directories in crates
192192 @powershell -Command " Get-ChildItem -Path crates -Recurse -Directory -Filter 'target' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
193193 @powershell -Command " Get-ChildItem -Path python -Recurse -Directory -Filter 'target' | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue"
@@ -208,12 +208,12 @@ clean-windows-cmd:
208208 -@for /f " delims=" %%d in (' dir /s /b /ad .hypothesis 2^>nul' ) do @rd /s /q " %%d" 2> nul
209209 -@for /f " delims=" %%d in (' dir /s /b /ad junit 2^>nul' ) do @rd /s /q " %%d" 2> nul
210210 -@for /f " delims=" %%f in (' dir /s /b python\*.so python\*.pyd 2^>nul' ) do @del " %%f" 2> nul
211- -@REM Clean clibs build artifacts
212- -@for /f " delims=" %%d in (' dir /s /b /ad clibs \build 2^>nul' ) do @rd /s /q " %%d" 2> nul
213- -@for /f " delims=" %%d in (' dir /s /b /ad clibs \dist 2^>nul' ) do @rd /s /q " %%d" 2> nul
214- -@for /f " delims=" %%d in (' dir /s /b /ad clibs \*.egg-info 2^>nul' ) do @rd /s /q " %%d" 2> nul
215- -@for /f " delims=" %%d in (' dir /s /b /ad clibs \.venv 2^>nul' ) do @rd /s /q " %%d" 2> nul
216- -@for /f " delims=" %%f in (' dir /s /b clibs \uv.lock 2^>nul' ) do @del " %%f" 2> nul
211+ -@REM Clean clib build artifacts
212+ -@for /f " delims=" %%d in (' dir /s /b /ad clib \build 2^>nul' ) do @rd /s /q " %%d" 2> nul
213+ -@for /f " delims=" %%d in (' dir /s /b /ad clib \dist 2^>nul' ) do @rd /s /q " %%d" 2> nul
214+ -@for /f " delims=" %%d in (' dir /s /b /ad clib \*.egg-info 2^>nul' ) do @rd /s /q " %%d" 2> nul
215+ -@for /f " delims=" %%d in (' dir /s /b /ad clib \.venv 2^>nul' ) do @rd /s /q " %%d" 2> nul
216+ -@for /f " delims=" %%f in (' dir /s /b clib \uv.lock 2^>nul' ) do @del " %%f" 2> nul
217217 -@REM Clean all target directories in crates
218218 -@for /f " delims=" %%d in (' dir /s /b /ad crates\target 2^>nul' ) do @rd /s /q " %%d" 2> nul
219219 -@for /f " delims=" %%d in (' dir /s /b /ad python\target 2^>nul' ) do @rd /s /q " %%d" 2> nul
0 commit comments