File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ CFLAGS = @PSPSDK_CFLAGS@
1212libpspguincludedir = @PSPSDK_INCLUDEDIR@
1313libpspguinclude_HEADERS = pspgu.h
1414
15- lib_LIBRARIES = libpspgu.a
15+ lib_LIBRARIES = libpspgu.a libpspgud.a
1616
1717noinst_HEADERS = guInternal.h
1818
19+ # Regular library (no debug assertions)
1920libpspgu_a_SOURCES = \
2021 guInternal.c \
2122 sceGuAlphaFunc.c \
@@ -112,3 +113,7 @@ libpspgu_a_SOURCES = \
112113 sceGuViewport.c \
113114 vram.c
114115
116+ # Debug library (with debug assertions)
117+ libpspgud_a_SOURCES = $(libpspgu_a_SOURCES )
118+ libpspgud_a_CFLAGS = $(CFLAGS ) -DGU_DEBUG
119+
Original file line number Diff line number Diff line change 1111
1212#include "pspgu.h"
1313
14+ #ifdef GU_DEBUG
15+ #include <assert.h>
16+ #include <stdio.h>
17+ #endif
18+
1419typedef void (* GuCallback )(int );
1520
1621typedef struct
You can’t perform that action at this time.
0 commit comments