From c4ae077ca41306b47e7737555fbcaa4decfe407c Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 28 Apr 2026 09:49:01 +0200 Subject: Rely on Virtual Filesystem now --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 67decc8..c7cd9e3 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ CFLAGS := -std=c99 -v -g -I./vendor/$(RAYLIB_VER)/include LDFLAGS := ./vendor/$(RAYLIB_VER)/lib/libraylib.a -lm GAME := bin/stalag HEXDUMP := bin/hexdump +PACKER := bin/packer SOURCES := main.c map.c game.c ifeq ($(SYSTEM), linux_amd64) @@ -25,7 +26,7 @@ ifeq ($(SYSTEM), macos) LDFLAGS += -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL endif -all: info mkdirs $(HEXDUMP) $(GAME) +all: info mkdirs $(HEXDUMP) $(PACKER) $(GAME) .PHONY: info mkdirs clean @@ -42,6 +43,12 @@ $(GAME): $(SOURCES) $(HEXDUMP): tools/hexdump.c $(CC) -std=c99 -o $(HEXDUMP) tools/hexdump.c +$(PACKER): tools/packer.c + $(CC) -std=c99 -o $(PACKER) tools/packer.c + +data: $(PACKER) + $(PACKER) -p data.pak textures maps + mkdirs: mkdir -p bin -- cgit v1.2.3