summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLia Lenckowski <lialenck@protonmail.com>2024-09-25 22:24:35 +0200
committerLia Lenckowski <lialenck@protonmail.com>2024-09-25 22:25:00 +0200
commit978794cf1d255cf4ad4569e696ddcbd91abb0a7c (patch)
tree2715ad35af38ac7813f999b8797bcb880b52b72c
parent7bac98ee918ea9cee5eea3d446b2f204032fa03b (diff)
downloadhurrycurry-978794cf1d255cf4ad4569e696ddcbd91abb0a7c.tar
hurrycurry-978794cf1d255cf4ad4569e696ddcbd91abb0a7c.tar.bz2
hurrycurry-978794cf1d255cf4ad4569e696ddcbd91abb0a7c.tar.zst
Replace usages of rm with $(RM) in makefiles
-rw-r--r--data/makefile2
-rw-r--r--pixel-client/makefile6
-rw-r--r--test-client/makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/data/makefile b/data/makefile
index 23956869..af215a6c 100644
--- a/data/makefile
+++ b/data/makefile
@@ -26,4 +26,4 @@ recipes/%.svg: recipes/%.gv.txt
dot -Tsvg -Kdot >$@<$<
clean:
- rm -fr recipes/*.{yaml,gv.txt,svg}
+ $(RM) -r recipes/*.{yaml,gv.txt,svg}
diff --git a/pixel-client/makefile b/pixel-client/makefile
index 764a4564..fc11d613 100644
--- a/pixel-client/makefile
+++ b/pixel-client/makefile
@@ -36,9 +36,9 @@ tex_pack: assets/atlas.ta
tex_import: $(TEXTURES_IMPORT_PNG)
tex_export: $(TEXTURES_PNG) $(SPRITES_PNG) assets/atlas.png
clean:
- rm -f $(PNG)
- rm -fr assets/sprites
- rm -f assets/atlas.ta assets/atlas.meta.csv
+ $(RM) $(PNG)
+ $(RM) -r assets/sprites
+ $(RM) assets/atlas.ta assets/atlas.meta.csv
$(CLIENT): $(shell find src -type f) $(CLIENT_DEPS)
cargo +nightly build --release --bin pixelcurry
diff --git a/test-client/makefile b/test-client/makefile
index 72a04791..b6c0438d 100644
--- a/test-client/makefile
+++ b/test-client/makefile
@@ -17,8 +17,8 @@
all: main.js locales
locales: $(patsubst ../locale/%.ini,locale/%.json,$(wildcard ../locale/*.ini))
clean:
- rm main.js
- rm -rf locale
+ $(RM) main.js
+ $(RM) -r locale
main.js: main.ts $(wildcard *.ts)
esbuild $< --bundle --outfile=$@ --target=esnext --format=esm