This commit is contained in:
2026-01-04 19:42:22 +08:00
parent 888b0c368c
commit 4dadeb807d
9 changed files with 279 additions and 148 deletions

View File

@ -1,8 +1,8 @@
# Simple Makefile using sdl-config for SDL flags
CC := gcc
CC := clang
SDL_CFLAGS := $(shell sdl2-config --cflags)
SDL_LIBS := $(shell sdl2-config --libs)
CFLAGS := -Wall -Wextra -std=c99 $(SDL_CFLAGS)
CFLAGS := -Wall -Wextra -std=c99 -g $(SDL_CFLAGS)
SRCDIR := src
SOURCES := $(wildcard $(SRCDIR)/*.c)
BUILD_DIR := build