From 6564c3c35fa8838d9d8a2cf4b2440b1c1b4c978e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Szab=C3=B3?= <34127628+firolightfog@users.noreply.github.com> Date: Tue, 13 Jan 2026 14:03:24 +0100 Subject: [PATCH] Refactor Makefile for compiler flags and includes Updated compiler flags and include paths in Makefile. --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a784be2..b504774 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ RACK_DIR ?= ../.. -FLAGS += -Idep/include -CFLAGS += -CXXFLAGS += +# Essential compiler flags +CXXFLAGS += -std=c++17 -Wall -Wextra -Wno-unused-parameter -LDFLAGS += +# Include paths +FLAGS += -I$(RACK_DIR)/include -Idep/include + +# Source files SOURCES += src/Prototype.cpp DISTRIBUTABLES += res examples