From b762ce2ab6fcf4a37cb155794c44bc29cd9cd325 Mon Sep 17 00:00:00 2001 From: fincs Date: Fri, 1 Jan 2021 20:06:46 +0100 Subject: [PATCH] Remove obsolete static library stubs --- Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 2e9f41f..b4747e4 100644 --- a/Makefile +++ b/Makefile @@ -88,8 +88,6 @@ export OFILES_SRC := $(DEFFILES:.def=.o) $(SFILES:.s=.o) $(CFILES:.c=.o) $(CPPFI export OFILES := $(OFILES_BIN) $(OFILES_SRC) export HFILES := $(addsuffix .h,$(subst .,_,$(BINFILES))) -export STUB_LIBS := $(addprefix lib/stubs/lib,$(DEFFILES:.def=.a)) lib/stubs/libnn_swkbd.a lib/stubs/libwhb.a lib/stubs/libgfd.a lib/stubs/libsnd_core.a lib/stubs/libsnd_user.a - export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \ $(foreach dir,$(LIBDIRS),-I$(dir)/include) \ -I. @@ -97,7 +95,7 @@ export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \ .PHONY: all dist-bin dist-src dist install clean #--------------------------------------------------------------------------------- -all: lib/libwut.a lib/libwutd.a $(STUB_LIBS) +all: lib/libwut.a lib/libwutd.a dist-bin: all @tar --exclude=*~ -cjf wut-$(VERSION).tar.bz2 include lib share -C libraries/libwhb include -C ../libgfd include @@ -114,9 +112,6 @@ install: dist-bin lib: @[ -d $@ ] || mkdir -p $@ -lib/stubs: - @[ -d $@ ] || mkdir -p $@ - release: @[ -d $@ ] || mkdir -p $@ @@ -137,14 +132,6 @@ lib/libwutd.a : lib debug $(SOURCES) $(INCLUDES) --no-print-directory -C debug \ -f $(CURDIR)/Makefile -# Cancel .a rule from devkitPPC/base_rules -%.a: - -# temp: Deprecation stub for directly linking cafe libs (all in libwut) -lib/stubs/lib%.a: | lib/stubs - @echo stub $(notdir $*) - @$(AR) -rc $@ - #--------------------------------------------------------------------------------- clean: @echo clean ...