fix(makefile): -std=c++23, rm -rf ${DIR}/*
This commit is contained in:
4
Makefile
4
Makefile
@ -22,7 +22,7 @@ TESTS =\
|
|||||||
ifeq (${origin CC}, default)
|
ifeq (${origin CC}, default)
|
||||||
CC = g++
|
CC = g++
|
||||||
endif
|
endif
|
||||||
CFLAGS = -Wall -Wextra -Werror -Wno-unused-result -fPIC
|
CFLAGS = -std=c++23 -Wall -Wextra -Werror -Wno-unused-result -fPIC
|
||||||
ifneq (${DEBUG}, false)
|
ifneq (${DEBUG}, false)
|
||||||
CFLAGS += -fsanitize=address,undefined -g -O0
|
CFLAGS += -fsanitize=address,undefined -g -O0
|
||||||
-g = -g
|
-g = -g
|
||||||
@ -57,7 +57,7 @@ uninstall:
|
|||||||
rm -f ${patsubst %, ${USRDIR}/${BINDIR}/btc-%${-g}, ${TOOLS}}
|
rm -f ${patsubst %, ${USRDIR}/${BINDIR}/btc-%${-g}, ${TOOLS}}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${OBJDIR} ${LIBDIR} ${BINDIR}
|
rm -rf ${OBJDIR}/* ${LIBDIR}/* ${BINDIR}/*
|
||||||
|
|
||||||
ifneq (${OBJS},)
|
ifneq (${OBJS},)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user