v1.2.3: Remove mbedtls for libnx crypto

This commit is contained in:
shchmue 2019-04-15 14:17:17 -04:00
parent f7dc8f027b
commit 90563f6e63
32 changed files with 32 additions and 10451 deletions

View file

@ -32,7 +32,7 @@ include $(DEVKITPRO)/libnx/switch_rules
#---------------------------------------------------------------------------------
APP_TITLE := Lockpick
APP_AUTHOR := shchmue
APP_VERSION := 1.2.2
APP_VERSION := 1.2.3
TARGET := $(subst $e ,_,$(notdir $(APP_TITLE)))
BUILD := build
@ -58,13 +58,13 @@ CXXFLAGS := $(CFLAGS) -std=gnu++17 -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
LIBS := -lnx -lmbedcrypto -lstdc++fs `freetype-config --libs`
LIBS := -lnx -lstdc++fs `freetype-config --libs`
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(PORTLIBS) $(LIBNX) $(TOPDIR)/source/mbedtls
LIBDIRS := $(PORTLIBS) $(LIBNX)
#---------------------------------------------------------------------------------
@ -150,13 +150,11 @@ all: $(BUILD)
$(BUILD):
@[ -d $@ ] || mkdir -p $@ $(BUILD) $(OUTDIR)
$(MAKE) -C source/mbedtls/lib all
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
#---------------------------------------------------------------------------------
clean:
@echo clean ...
$(MAKE) -C source/mbedtls/lib clean
@rm -fr $(BUILD) $(OUTDIR) $(TARGET).pfs0 $(TARGET).nso $(TARGET).nro $(TARGET).nacp $(TARGET).elf