From 2416783679eafe35aea7af15bf1308a6895e251a Mon Sep 17 00:00:00 2001 From: esquizo Date: Sat, 2 May 2026 14:55:03 -0300 Subject: mapa arbitrário a partir de uma imagem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cb8837c..b34cf93 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ all: game clean: rm -f game rm -f $(OBJ) + rm -f map.c game: $(OBJ) $(CC) $^ `pkg-config --libs sdl3` -lm -o $@ @@ -16,4 +17,7 @@ game: $(OBJ) %.o: %.c $(CC) $< `pkg-config --cflags sdl3` -c -o $@ +map.c: map.png img2map + ./img2map map.png > map.c + .PHONY: all clean -- cgit v1.2.3