diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-05-09 01:01:18 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-05-09 01:01:18 -0300 |
| commit | 5c6b3c19172948cf2e1800a9333cfcd858ee829c (patch) | |
| tree | b8da3f436cba5736d481690935135fe5c6b3badc /Makefile | |
| parent | a21ae8219e67783c52ba5f415e1ca4745755adb5 (diff) | |
adicionado vecmath.h
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,6 +4,9 @@ OBJ=\ map.o\ game.o +LDFLAGS=`pkg-config --libs sdl3` -lm +CFLAGS=`pkg-config --cflags sdl3` -O2 -Iinclude + all: game clean: @@ -12,10 +15,10 @@ clean: rm -f map.c game: $(OBJ) - $(CC) $^ `pkg-config --libs sdl3` -lm -o $@ + $(CC) $^ $(LDFLAGS) -o $@ %.o: %.c - $(CC) $< `pkg-config --cflags sdl3` -c -o $@ + $(CC) $< $(CFLAGS) -c -o $@ map.c: map.png img2map ./img2map map.png > map.c |
