X-Git-Url: https://git.ao2.it/visomat-utils.git/blobdiff_plain/f91f4b7f1117037fffa21cfb0a6b43aa9036c994..49d57f3f34f76b24d5bba6adae90d04c8e8ed406:/src/Makefile?ds=inline diff --git a/src/Makefile b/src/Makefile index c39f955..4ac4019 100644 --- a/src/Makefile +++ b/src/Makefile @@ -32,6 +32,10 @@ ifneq ($(CC),clang) CFLAGS += -Wunsafe-loop-optimizations -Wunused-but-set-variable endif +ifeq ($(DEBUG),1) + CFLAGS += -DDEBUG +endif + CFLAGS += $(shell pkg-config --cflags libusb-1.0) LDLIBS := $(shell pkg-config --libs libusb-1.0)