diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2025-09-25 21:18:17 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2025-09-25 21:18:17 +0200 |
| commit | 19db0c747735def79619a27cc119c7a57507cf57 (patch) | |
| tree | 7e0c877560d3d86a3d244a3cac9c38ef6a53e7de /Makefile | |
| parent | f6389122beac633411aeba49c5dd29721a010f4b (diff) | |
Render the constraints
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,11 +3,11 @@ CC ?= gcc SRCDIR ?= src OBJDIR ?= obj -LIBS = -LSDL/build/ -lSDL2-2.0 -Wl,-rpath,./SDL/build/ -lglm -lm +LIBS = $(shell pkg-config --libs SDL2) -Wl,-rpath,./SDL/build/ $(shell pkg-config --libs cglm) INCS = -ISDL/build/include/SDL2 -ISDL/build/include-config-/SDL2 CFLAGS ?= -D_FORTIFY_SOURCE=2 -Wall -Werror -Wno-error=unused-variable -g -Og -CFLAGS += -std=gnu11 -fms-extensions -flto +CFLAGS += -std=gnu11 -fms-extensions -flto $(shell pkg-config --cflags cglm) APP_SOURCES = $(shell find $(SRCDIR) -name "*.c") APP_OBJS = $(APP_SOURCES:%.c=$(OBJDIR)/%.o) |
