sdl3game -> akgl
This commit is contained in:
8
Makefile
8
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_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 sdl3game --libs) $(shell pkg-config akerror --libs) -lasound
|
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)
|
CC:=$(shell which gcc)
|
||||||
LD:=$(shell which ld)
|
LD:=$(shell which ld)
|
||||||
|
|
||||||
SRCFILES:=$(shell find src -type f -name '*.c')
|
SRCFILES:=$(shell find src -type f -name '*.c')
|
||||||
OBJFILES:=$(patsubst %.c,%.o,$(SRCFILES))
|
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
|
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: lib
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|||||||
@@ -5,18 +5,18 @@
|
|||||||
#include <SDL3_image/SDL_image.h>
|
#include <SDL3_image/SDL_image.h>
|
||||||
#include <SDL3_mixer/SDL_mixer.h>
|
#include <SDL3_mixer/SDL_mixer.h>
|
||||||
|
|
||||||
#include <sdl3game/assets.h>
|
#include <akgl/assets.h>
|
||||||
#include <sdl3game/error.h>
|
#include <akgl/error.h>
|
||||||
#include <sdl3game/iterator.h>
|
#include <akgl/iterator.h>
|
||||||
#include <sdl3game/tilemap.h>
|
#include <akgl/tilemap.h>
|
||||||
#include <sdl3game/heap.h>
|
#include <akgl/heap.h>
|
||||||
#include <sdl3game/game.h>
|
#include <akgl/game.h>
|
||||||
#include <sdl3game/controller.h>
|
#include <akgl/controller.h>
|
||||||
#include <sdl3game/draw.h>
|
#include <akgl/draw.h>
|
||||||
#include <sdl3game/sprite.h>
|
#include <akgl/sprite.h>
|
||||||
#include <sdl3game/actor.h>
|
#include <akgl/actor.h>
|
||||||
#include <sdl3game/registry.h>
|
#include <akgl/registry.h>
|
||||||
#include <sdl3game/text.h>
|
#include <akgl/text.h>
|
||||||
|
|
||||||
int numsprites = 8;
|
int numsprites = 8;
|
||||||
char *spritepaths[] = {
|
char *spritepaths[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user