Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 23, 2024
1 parent b72a355 commit f2ec4d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 3dssplash/arm9/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ LDFLAGS = -specs=../$(UNIVERSAL)/arm9/ds_arm9_twlm.specs -g $(ARCH) -Wl,-Map,$(n
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project (order is important)
#---------------------------------------------------------------------------------
LIBS := -lfat -lnds9
LIBS := -lfat -lnds329


#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(CURDIR) ../ $(LIBNDS)
LIBDIRS32 := $(CURDIR)/$(UNIVERSAL)/libnds32

#---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional
Expand Down Expand Up @@ -102,7 +103,8 @@ export INCLUDE := $(foreach dir,$(INCLUDES),-iquote $(CURDIR)/$(dir)) \
$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
-I$(CURDIR)/$(BUILD)

export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib)
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) \
$(foreach dir,$(LIBDIRS32),-L$(dir)/lib)


export OUTPUT := $(CURDIR)/$(TARGET)
Expand Down

0 comments on commit f2ec4d6

Please sign in to comment.