aboutsummaryrefslogtreecommitdiff
path: root/light-client/makefile
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-16 23:38:46 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-16 23:38:46 +0200
commit775b0148cec4329a6abb19d03220dc1d8a8b68c3 (patch)
tree9e715df1db4f23a9c3f1e9c07cf7e93e376b512f /light-client/makefile
parent3a358c6dd39aa78319549658adf1028cea61f643 (diff)
downloadhurrycurry-775b0148cec4329a6abb19d03220dc1d8a8b68c3.tar
hurrycurry-775b0148cec4329a6abb19d03220dc1d8a8b68c3.tar.bz2
hurrycurry-775b0148cec4329a6abb19d03220dc1d8a8b68c3.tar.zst
rename pixel client
Diffstat (limited to 'light-client/makefile')
-rw-r--r--light-client/makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/light-client/makefile b/light-client/makefile
deleted file mode 100644
index 6a56fc62..00000000
--- a/light-client/makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-
-SPRITES = $(shell find assets/sprites -name '*.ta')
-SPRITES_PNG = $(patsubst %.ta,%.png,$(SPRITES))
-
-TEXTURES = $(shell find assets/textures -name '*.ta')
-TEXTURES_PNG = $(patsubst %.ta,%.png,$(TEXTURES))
-TEXTURES_IMPORT_PNG = $(patsubst %.import.png,%.ta,$(shell find assets/textures -name '*.import.png'))
-
-PNG = $(shell find assets/textures -name '*.png')
-
-.PHONY: tex_pack tex_export tex_import clean
-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
-
-
-IMPORT = ../target/release/tex_import
-EXPORT = ../target/release/tex_export
-PACK = ../target/release/tex_pack
-COMPOSE = ../target/release/tex_compose
-
-%.ta: %.import.png
- $(IMPORT) $< $@
-%.png: %.ta
- ../target/release/tex_export $< $@
-
-assets/sprites/%/all: assets/%.ini $(TEXTURES)
- @mkdir -p $(basename $@)
- ../target/release/tex_compose $< assets/textures $(basename $@)
- @touch $@
-
-assets/atlas.ta assets/atlas.meta.csv: assets/sprites/items/all assets/sprites/tiles/all assets/sprites/misc/all
- ../target/release/tex_pack assets/atlas.ta assets/atlas.meta.csv $(SPRITES)