respect $DEBUG

This commit is contained in:
anon 2023-12-05 12:02:38 +01:00
parent ea2fa070b7
commit 35c337a607

View File

@ -1,8 +1,13 @@
CXX:=g++
CFLAGS:=-O0 -ggdb -std=c++17
LDLIBS:=$$(pkg-config --libs ncurses)
CXXFLAGS += -std=c++20
LDFLAGS:=
COMP:=$(CXX) $(CFLAGS) $(LDFLAGS) $(LDLIBS)
ifeq (${DEBUG}, 1)
CXXFLAGS += -O0 -ggdb -Wall -Wextra -Wpedantic
endif
COMP:=${CXX} ${CXXFLAGS} ${LDFLAGS} ${LDLIBS}
OUTPUT:=bsleep