diff options
| author | 2024-04-21 04:11:53 +1000 | |
|---|---|---|
| committer | 2024-04-21 04:11:53 +1000 | |
| commit | 01b97e2222c31223996efdf4e7b042410e985957 (patch) | |
| tree | 3808bc50b56e5f7350a0ce7520f6ca9a822d32b0 /makefile | |
| parent | 943ae3135b8ab2088fc2ccb07896ceffb5f71e02 (diff) | |
srcclean and cleanup:
* makefile: srcclean batches of twenty files - improves performance when
process creation or filesystem walk is expensive.
* midway/midtunit.cpp: Removed a few unnecessary lines.
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1638,11 +1638,11 @@ ifeq (posix,$(SHELLTYPE)) -name \*.mm -o \ -name \*.lay -o \ -name \*.lst \ - \) -exec ./srcclean {} \; >&2 - $(SILENT) find hash \( -name \*.hsi -o -name \*.xml \) -exec ./srcclean {} \; >&2 - $(SILENT) find bgfx \( -name \*.json \) -exec ./srcclean {} \; >&2 - $(SILENT) find plugins \( -name \*.lua -o -name \*.json \) -exec ./srcclean {} \; >&2 - $(SILENT) find scripts \( -name \*.lua \) -exec ./srcclean {} \; >&2 + \) -print0 | xargs -0 -n 20 ./srcclean >&2 + $(SILENT) find hash \( -name \*.hsi -o -name \*.xml \) -print0 | xargs -0 -n 20 ./srcclean >&2 + $(SILENT) find bgfx \( -name \*.json \) -print0 | xargs -0 -n 20 ./srcclean >&2 + $(SILENT) find plugins \( -name \*.lua -o -name \*.json \) -print0 | xargs -0 -n 20 ./srcclean >&2 + $(SILENT) find scripts \( -name \*.lua \) -print0 | xargs -0 -n 20 ./srcclean >&2 else $(shell for /r src %%i in (*.c, *.cpp, *.h, *.hpp, *.hxx, *.ipp, *.mm, *.lay, *.lst) do srcclean %%i >&2 ) $(shell for /r hash %%i in (*.hsi, *.xml) do srcclean %%i >&2 ) |
