Before:
# path to library - this can be deleted if you set the path in windows export NDSLIBPATH := /home/ndsdev/ndslib # Name stuck in the GBA header of the DS booter ROM
After:
# path to library - this can be deleted if you set the path in windows export NDSLIBPATH := /home/ndsdev/ndslib export PRLIBPATH := /home/ndsdev/libpr # Name stuck in the GBA header of the DS booter ROM
A second change is near the bottom of the file:
Before:
#--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing # include and lib #--------------------------------------------------------------------------------- LIBDIRS := $(NDSLIBPATH) #LIBDIRS +=
After:
#--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing # include and lib #--------------------------------------------------------------------------------- LIBDIRS := $(NDSLIBPATH) LIBDIRS += $(PRLIBPATH) #LIBDIRS +=
Near the top of the file: Before:
export BUILDDIR := build #SOURCES += ? #INCLUDES += ? LIBS += nds7
After:
export BUILDDIR := build #SOURCES += ? #INCLUDES += ? LIBS += -lnds7 -lpr7
Next, seaching for "LIBS" yields the following changes:
Before
%.elf: @$(LD) $(LDFLAGS) -Wl,-Map,$(notdir $@).map -specs=ds_arm7.specs $(OFILES) $(LIBPATHS) -l$(LIBS) -o $@
After
%.elf: @$(LD) $(LDFLAGS) -Wl,-Map,$(notdir $@).map -specs=ds_arm7.specs $(OFILES) $(LIBPATHS) $(LIBS) -o $@
Near the top of the file: Before:
export BUILDDIR := build #SOURCES += ? #INCLUDES += ? LIBS += nds9
After:
export BUILDDIR := build #SOURCES += ? #INCLUDES += ? LIBS += -lnds9 -lpr9
Next, seaching for "LIBS" yields the following changes:
Before
%.elf: @$(LD) $(LDFLAGS) -Wl,-Map,$(notdir $@).map -specs=ds_arm9.specs $(OFILES) $(LIBPATHS) -l$(LIBS) -o $@
After
%.elf: @$(LD) $(LDFLAGS) -Wl,-Map,$(notdir $@).map -specs=ds_arm9.specs $(OFILES) $(LIBPATHS) $(LIBS) -o $@
1.3.6