commit accb27cee1014e67b0777d66eab9da2964e06d6e
parent 66ff003d6616d6669dd0cbe19af25fd882f0b6ba
Author: lumidify <nobody@lumidify.org>
Date: Wed, 22 Jul 2026 20:05:10 +0200
Rename CROPDEBUG to DEV to use the same name as LTK
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -11,13 +11,13 @@ SRC = ${BIN:=.c}
MAN1 = ${BIN:=.1}
MISCFILES = Makefile README CHANGELOG LICENSE TODO common.c common.h
-# CROPDEBUG can be set to 1 to enable debugging information.
+# DEV can be set to 1 to enable debugging information.
# SANITIZE can be set to 1 to enable -fsanitize=address,undefined
-# Can't be called simply "DEBUG" because that messes with the
+# Can't be called "DEBUG" because that messes with the
# default variables on OpenBSD (${DEBUG} is appended to ${CFLAGS},
# which messes everything up when ${DEBUG} is just set to 0 or 1).
-CROPDEBUG = 0
+DEV = 0
SANITIZE = 0
# Configuration options:
@@ -29,13 +29,13 @@ DB_LDFLAGS = `pkg-config --libs xext`
#DB_CFLAGS = -DNODB
#DB_LDFLAGS =
-EXTRA_CFLAGS_DEBUG0 =
-EXTRA_CFLAGS_DEBUG1 = -g
+EXTRA_CFLAGS_DEV0 =
+EXTRA_CFLAGS_DEV1 = -g
EXTRA_FLAGS_SANITIZE0 =
EXTRA_FLAGS_SANITIZE1 = -fsanitize=address,undefined
# Note: Older systems might need `imlib2-config --cflags` and `imlib2-config --libs` instead of pkg-config.
-CROP_CFLAGS = ${CFLAGS} ${DB_CFLAGS} ${EXTRA_FLAGS_SANITIZE${SANITIZE}} ${EXTRA_CFLAGS_DEBUG${CROPDEBUG}} -Wall -Wextra -pedantic -D_POSIX_C_SOURCE=200809L `pkg-config --cflags x11 imlib2`
+CROP_CFLAGS = ${CFLAGS} ${DB_CFLAGS} ${EXTRA_FLAGS_SANITIZE${SANITIZE}} ${EXTRA_CFLAGS_DEV${DEV}} -Wall -Wextra -pedantic -D_POSIX_C_SOURCE=200809L `pkg-config --cflags x11 imlib2`
CROP_LDFLAGS = ${LDFLAGS} ${DB_LDFLAGS} ${EXTRA_FLAGS_SANITIZE${SANITIZE}} `pkg-config --libs x11 imlib2` -lm
all: ${BIN}