From a42816ed3a6fd6f65c6ff0eb5fbf8ff0336f5353 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Thu, 7 May 2026 22:20:21 -0400 Subject: [PATCH] sdl3game -> akgl --- Makefile | 8 ++++---- src/sdl3-gametest.c | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 6516fc1..edd3a77 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,15 @@ -SDLFLAGS_CC:=$(shell pkg-config sdl3 --cflags) $(shell pkg-config sdl3-ttf --cflags) $(shell pkg-config sdl3-image --cflags) $(shell pkg-config sdl3game --cflags) $(shell pkg-config akerror --cflags) -SDLFLAGS_LD:=$(shell pkg-config sdl3 --libs) $(shell pkg-config sdl3-ttf --libs) $(shell pkg-config sdl3-mixer --libs) $(shell pkg-config sdl3-image --libs) $(shell pkg-config sdl3game --libs) $(shell pkg-config akerror --libs) -lasound +SDLFLAGS_CC:=$(shell pkg-config sdl3 --cflags) $(shell pkg-config sdl3-ttf --cflags) $(shell pkg-config sdl3-image --cflags) $(shell pkg-config akgl --cflags) $(shell pkg-config akerror --cflags) +SDLFLAGS_LD:=$(shell pkg-config sdl3 --libs) $(shell pkg-config sdl3-ttf --libs) $(shell pkg-config sdl3-mixer --libs) $(shell pkg-config sdl3-image --libs) $(shell pkg-config akgl --libs) $(shell pkg-config akerror --libs) -lasound CC:=$(shell which gcc) LD:=$(shell which ld) SRCFILES:=$(shell find src -type f -name '*.c') OBJFILES:=$(patsubst %.c,%.o,$(SRCFILES)) -LDFLAGS:=-L/home/andrew/local/lib -lsdlerror -lsdl3game -lgcov -lbox2d -ljansson +LDFLAGS:=-L/home/andrew/local/lib -lsdlerror -lakgl -lgcov -lbox2d -ljansson CFLAGS:=-I/home/andrew/local/include -g3 -gdwarf-2 -I./include/ -Wall -fstack-usage -Werror=analyzer-use-of-uninitialized-value -Werror=unused-result -Werror=multistatement-macros -DISTFILE:=dist/sdl3-gametest +DISTFILE:=dist/akgl-test .PHONY: lib .PHONY: clean diff --git a/src/sdl3-gametest.c b/src/sdl3-gametest.c index 67ed033..44478a0 100644 --- a/src/sdl3-gametest.c +++ b/src/sdl3-gametest.c @@ -5,18 +5,18 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include int numsprites = 8; char *spritepaths[] = {