aboutsummaryrefslogtreecommitdiff
path: root/examples/graphics/rgb24/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphics/rgb24/makefile')
-rw-r--r--examples/graphics/rgb24/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/graphics/rgb24/makefile b/examples/graphics/rgb24/makefile
index 5c08f87..3ec9cfe 100644
--- a/examples/graphics/rgb24/makefile
+++ b/examples/graphics/rgb24/makefile
@@ -16,7 +16,8 @@ LIBS = -lpsxgpu -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)