mirror of https://github.com/nealey/hdjd.git
Easier debug build
This commit is contained in:
parent
6642e2cb6d
commit
c892bbc063
5
Makefile
5
Makefile
|
@ -1,7 +1,10 @@
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
CFLAGS += -Werror
|
CFLAGS += -Werror
|
||||||
TARGETS = hdjd explore
|
TARGETS = hdjd explore
|
||||||
#CFLAGS += -g -DDEBUG
|
|
||||||
|
ifdef DEBUG
|
||||||
|
CFLAGS += -g -DDEBUG
|
||||||
|
endif
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
|
|
@ -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
|
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`
|
$ make clean all DEBUG=1
|
||||||
|
|
||||||
(i.e. remove the # sign)
|
|
||||||
|
|
||||||
|
|
||||||
Current Issues
|
Current Issues
|
||||||
|
|
Loading…
Reference in New Issue