From a747cfa83ccbed603c1bf66f30f1fcaa99944a89 Mon Sep 17 00:00:00 2001 From: Michael Theall Date: Sat, 9 May 2020 13:23:54 -0500 Subject: [PATCH] Minor Makefile updates --- Makefile.nds | 4 ++-- Makefile.switch | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile.nds b/Makefile.nds index 1385a6b..25c2ebc 100644 --- a/Makefile.nds +++ b/Makefile.nds @@ -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 diff --git a/Makefile.switch b/Makefile.switch index c5fc3b6..a553810 100644 --- a/Makefile.switch +++ b/Makefile.switch @@ -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