From 657f88952d35145b46d86a04e4b681d91f878c3a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 23 Mar 2023 15:08:29 +0100 Subject: use sort order in makefile and add air tile at index 0 --- src/static/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/static/makefile') diff --git a/src/static/makefile b/src/static/makefile index a6a18db..d84e31e 100644 --- a/src/static/makefile +++ b/src/static/makefile @@ -2,7 +2,8 @@ XXD := xxd TILEPACK := ../../scripts/tilepack MANIFEST2HEADER := ../../scripts/manifest2header.awk -INPUT += shop.hex \ +INPUT += air.hex \ + shop.hex \ slime.hex \ world.hex USER_META += world.h @@ -21,7 +22,7 @@ all: tilemap.bin tilemap.h wc -c $< | tr '.' ' ' | awk '1 { print $$2" "$$1 / 104 }' > $@ manifest.txt: $(OUT_BIN) $(OUT_META) - cat $(OUT_META) | sort > $@ + cat $(OUT_META) > $@ tilemap.bin: manifest.txt $(OUT_BIN) awk '1 { print $$1".bin" }' $< | xargs cat > $@ -- cgit v1.2.3