sdl3game -> akgl

This commit is contained in:
2026-05-07 22:20:21 -04:00
parent 4321263465
commit a42816ed3a
2 changed files with 16 additions and 16 deletions

View File

@@ -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

View File

@@ -5,18 +5,18 @@
#include <SDL3_image/SDL_image.h>
#include <SDL3_mixer/SDL_mixer.h>
#include <sdl3game/assets.h>
#include <sdl3game/error.h>
#include <sdl3game/iterator.h>
#include <sdl3game/tilemap.h>
#include <sdl3game/heap.h>
#include <sdl3game/game.h>
#include <sdl3game/controller.h>
#include <sdl3game/draw.h>
#include <sdl3game/sprite.h>
#include <sdl3game/actor.h>
#include <sdl3game/registry.h>
#include <sdl3game/text.h>
#include <akgl/assets.h>
#include <akgl/error.h>
#include <akgl/iterator.h>
#include <akgl/tilemap.h>
#include <akgl/heap.h>
#include <akgl/game.h>
#include <akgl/controller.h>
#include <akgl/draw.h>
#include <akgl/sprite.h>
#include <akgl/actor.h>
#include <akgl/registry.h>
#include <akgl/text.h>
int numsprites = 8;
char *spritepaths[] = {