aboutsummaryrefslogtreecommitdiff
path: root/src/static/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-23 15:08:29 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-23 15:08:29 +0100
commit657f88952d35145b46d86a04e4b681d91f878c3a (patch)
tree2da8283335c6db5d04ef3ebf7abf8b9c2810fe00 /src/static/makefile
parentf4295898e04de8ef2878aac1774dc7ccda501317 (diff)
use sort order in makefile and add air tile at index 0
Diffstat (limited to 'src/static/makefile')
-rw-r--r--src/static/makefile5
1 files changed, 3 insertions, 2 deletions
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 > $@