aboutsummaryrefslogtreecommitdiff
path: root/examples/graphics/render2tex
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphics/render2tex')
-rw-r--r--examples/graphics/render2tex/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/graphics/render2tex/makefile b/examples/graphics/render2tex/makefile
index c69d37f..52d650b 100644
--- a/examples/graphics/render2tex/makefile
+++ b/examples/graphics/render2tex/makefile
@@ -16,7 +16,8 @@ LIBS = -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: $(OFILES)
$(LD) $(LDFLAGS) $(LIBDIRS) $(OFILES) $(LIBS) -o $(TARGET)