--- Makefile.orig 2022-04-29 11:21:31 UTC +++ Makefile @@ -33,15 +33,15 @@ CTL_LANG=1 -CFLAGS = -Wall -Wno-unused-function -Wno-unused-but-set-variable -I/usr/include/netpbm -LDFLAGS = +CFLAGS := $(CFLAGS) +LDFLAGS := $(LDFLAGS) LDLIBS = -ltiff -ljpeg -lnetpbm -lz -lm ifdef DEBUG CFLAGS := $(CFLAGS) -g LDFLAGS := $(LDFLAGS) -g else -CFLAGS := $(CFLAGS) -O3 +CFLAGS := $(CFLAGS) endif ifdef EFENCE