diff options
Diffstat (limited to 'examples/demos')
| -rw-r--r-- | examples/demos/n00bdemo/makefile | 2 | ||||
| -rw-r--r-- | examples/demos/n00bdemo/plasma_tbl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/demos/n00bdemo/makefile b/examples/demos/n00bdemo/makefile index 27d0f1e..7e3bd8e 100644 --- a/examples/demos/n00bdemo/makefile +++ b/examples/demos/n00bdemo/makefile @@ -14,7 +14,7 @@ LIBS = -llzp -lpsxgpu -lpsxgte -lpsxspu -lpsxetc -lpsxapi -lc CFLAGS = -g -O2 -fno-builtin -fdata-sections -ffunction-sections CPPFLAGS = $(CFLAGS) -fno-exceptions AFLAGS = -g -msoft-float -LDFLAGS = -g -Ttext=0x80010000 -gc-sections -T $(GCC_BASE)/mipsel-unknown-elf/lib/ldscripts/elf32elmip.x +LDFLAGS = -g -Ttext=0x80010000 -gc-sections -T $(GCC_BASE)/$(PREFIX)/lib/ldscripts/elf32elmip.x all: resources $(OFILES) $(LD) $(LDFLAGS) $(LIBDIRS) $(OFILES) $(LIBS) -o $(TARGET) diff --git a/examples/demos/n00bdemo/plasma_tbl.h b/examples/demos/n00bdemo/plasma_tbl.h index dd322e6..9f54f98 100644 --- a/examples/demos/n00bdemo/plasma_tbl.h +++ b/examples/demos/n00bdemo/plasma_tbl.h @@ -1,7 +1,7 @@ #ifndef _PLASMA_TBL_H #define _PLASMA_TBL_H -unsigned int plasma_colors[256]; +extern unsigned int plasma_colors[]; extern short plasma_sin1[]; extern short plasma_sin2[]; extern short plasma_sin3[]; |
