Add DEBUG=1
This commit is contained in:
parent
abb94b1e29
commit
e4673851c1
4
Makefile
4
Makefile
@ -13,6 +13,10 @@ endif
|
||||
USE_FFMPEG ?= $(shell pkg-config libavutil libavformat libavcodec && echo 1)
|
||||
USE_LIBCAMERA ?= $(shell pkg-config libcamera && echo 1)
|
||||
|
||||
ifeq (1,$(DEBUG))
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifeq (1,$(USE_FFMPEG))
|
||||
CFLAGS += -DUSE_FFMPEG
|
||||
LDLIBS += -lavcodec -lavformat -lavutil
|
||||
|
Loading…
x
Reference in New Issue
Block a user