mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 09:08:30 +00:00
Creating libpspgud library
This commit is contained in:
@@ -12,10 +12,11 @@ CFLAGS = @PSPSDK_CFLAGS@
|
|||||||
libpspguincludedir = @PSPSDK_INCLUDEDIR@
|
libpspguincludedir = @PSPSDK_INCLUDEDIR@
|
||||||
libpspguinclude_HEADERS = pspgu.h
|
libpspguinclude_HEADERS = pspgu.h
|
||||||
|
|
||||||
lib_LIBRARIES = libpspgu.a
|
lib_LIBRARIES = libpspgu.a libpspgud.a
|
||||||
|
|
||||||
noinst_HEADERS = guInternal.h
|
noinst_HEADERS = guInternal.h
|
||||||
|
|
||||||
|
# Regular library (no debug assertions)
|
||||||
libpspgu_a_SOURCES = \
|
libpspgu_a_SOURCES = \
|
||||||
guInternal.c \
|
guInternal.c \
|
||||||
sceGuAlphaFunc.c \
|
sceGuAlphaFunc.c \
|
||||||
@@ -112,3 +113,7 @@ libpspgu_a_SOURCES = \
|
|||||||
sceGuViewport.c \
|
sceGuViewport.c \
|
||||||
vram.c
|
vram.c
|
||||||
|
|
||||||
|
# Debug library (with debug assertions)
|
||||||
|
libpspgud_a_SOURCES = $(libpspgu_a_SOURCES)
|
||||||
|
libpspgud_a_CFLAGS = $(CFLAGS) -DGU_DEBUG
|
||||||
|
|
||||||
|
@@ -11,6 +11,11 @@
|
|||||||
|
|
||||||
#include "pspgu.h"
|
#include "pspgu.h"
|
||||||
|
|
||||||
|
#ifdef GU_DEBUG
|
||||||
|
#include <assert.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void (*GuCallback)(int);
|
typedef void (*GuCallback)(int);
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
Reference in New Issue
Block a user