Easier debug build

This commit is contained in:
Neale Pickett 2018-01-01 11:27:11 -07:00
parent 6642e2cb6d
commit c892bbc063
2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,10 @@
CFLAGS += -Wall
CFLAGS += -Werror
TARGETS = hdjd explore
#CFLAGS += -g -DDEBUG
ifdef DEBUG
CFLAGS += -g -DDEBUG
endif
all: $(TARGETS)

View File

@ -62,11 +62,10 @@ See [this Mixxx wiki page](https://mixxx.org/wiki/doku.php/troubleshooting#hid_a
If you are trying to add support for another controller and try to debug the messages sent and received, you can build
it in debug mode if you modify the file Makefile and uncomment the following line:
it in debug mode
by providing `make` the `DEBUG=1` option:
`#CFLAGS += -g -DDEBUG`
(i.e. remove the # sign)
$ make clean all DEBUG=1
Current Issues