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