aboutsummaryrefslogtreecommitdiff
path: root/examples/demos/n00bdemo/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demos/n00bdemo/makefile')
-rw-r--r--examples/demos/n00bdemo/makefile2
1 files changed, 1 insertions, 1 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)