From c3ba9fb4d4938d03323366dd1513d41d34c65ae9 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sun, 30 Jan 2022 17:09:34 -0500 Subject: [PATCH] Reduced binary size --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 74c1a7b..49c28f4 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ CPP_SOURCES := $(wildcard $(SRC_DIR)/*.cpp $(SRC_DIR)/*/*.cpp) LIBDAISY_DIR = ./lib/libDaisy DAISYSP_DIR = ./lib/daisySP +# Reduce binary size +OPT += -Os + SYSTEM_FILES_DIR = $(LIBDAISY_DIR)/core include $(SYSTEM_FILES_DIR)/Makefile