diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-05-02 14:55:03 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-05-02 14:55:03 -0300 |
| commit | 2416783679eafe35aea7af15bf1308a6895e251a (patch) | |
| tree | f3d08269b9dff0eeedff8312e4b96b99169652ff /Makefile | |
| parent | d2d0886cf770488d1b4890a3a414bbf983e784a6 (diff) | |
mapa arbitrário a partir de uma imagem
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
