From 3f22f34014cf4913a5bd872f98695cc100307d0d Mon Sep 17 00:00:00 2001 From: heck Date: Thu, 26 Sep 2024 22:48:38 +0200 Subject: [PATCH] Build: introduce build settings shared by lib and examples --- Makefile.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile.conf diff --git a/Makefile.conf b/Makefile.conf new file mode 100644 index 0000000..2fb47ea --- /dev/null +++ b/Makefile.conf @@ -0,0 +1,12 @@ +HERE:=$(dir $(lastword $(MAKEFILE_LIST))) +-include $(HERE)build.conf + +TARGET_LIB ?= libdizzy +DEBUG ?= 0 + +LIBDAISY_DIR ?= ../../heck_libDaisy +DAISYSP_DIR ?= ../../heck_DaisySP + +CXX_STANDARD ?= -std=c++17 +CXXFLAGS += -Wall -Wno-unused -Wno-reorder-ctor -Wno-switch +CXXFLAGS += -fdiagnostics-color=always