From 8f943754f317237fbbbca27f5521146a802c5e16 Mon Sep 17 00:00:00 2001 From: SEK1RO Date: Sun, 15 Sep 2024 19:35:19 +0300 Subject: [PATCH] fix(makefile): -std=c++23, rm -rf ${DIR}/* --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f779c62..5771ac0 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ TESTS =\ ifeq (${origin CC}, default) CC = g++ endif -CFLAGS = -Wall -Wextra -Werror -Wno-unused-result -fPIC +CFLAGS = -std=c++23 -Wall -Wextra -Werror -Wno-unused-result -fPIC ifneq (${DEBUG}, false) CFLAGS += -fsanitize=address,undefined -g -O0 -g = -g @@ -57,7 +57,7 @@ uninstall: rm -f ${patsubst %, ${USRDIR}/${BINDIR}/btc-%${-g}, ${TOOLS}} clean: - rm -rf ${OBJDIR} ${LIBDIR} ${BINDIR} + rm -rf ${OBJDIR}/* ${LIBDIR}/* ${BINDIR}/* ifneq (${OBJS},)