Minor Makefile updates

This commit is contained in:
Michael Theall 2020-05-09 13:23:54 -05:00
parent 4eefb9c576
commit a747cfa83c
2 changed files with 6 additions and 4 deletions

View File

@ -73,7 +73,7 @@ endif
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(LIBNDS) $(PORTLIBS)
LIBDIRS := $(LIBNDS)
#---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional
@ -175,7 +175,7 @@ $(OUTPUT).nds: $(OUTPUT).elf
$(OUTPUT).elf: $(OFILES)
# need to build soundbank first
$(OFILES): $(SOUNDBANK)
$(OFILES): $(SOUNDBANK) $(TOPDIR)/Makefile $(TOPDIR)/Makefile.nds
#---------------------------------------------------------------------------------
# rule to build solution from music files

View File

@ -92,7 +92,7 @@ LIBS := `$(PREFIX)pkg-config --libs libzstd` -ldeko3dd -lnx
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(PORTLIBS) $(LIBNX)
LIBDIRS := $(LIBNX)
#---------------------------------------------------------------------------------
@ -292,7 +292,9 @@ endif
$(OUTPUT).elf : $(OFILES)
$(OFILES_SRC) : $(HFILES_BIN)
$(OFILES) : $(TOPDIR)/Makefile $(TOPDIR)/Makefile.switch
$(OFILES_SRC) : $(HFILES_BIN)
#---------------------------------------------------------------------------------
# you need a rule like this for each extension you use as binary data