20 lines
367 B
Makefile
Raw Normal View History

2021-07-31 19:35:22 +09:00
include ../../../tools/top.mk
include ../../make.mk
2022-10-08 21:53:32 +09:00
ifeq ($(DISABLE_MJPG),1)
CFLAGS += -DCFG_EXAMPLE_VIDEO_DISABLE_MJPG
endif
ifeq ($(FORCE_READONLY),1)
CFLAGS += -DCFG_EXAMPLE_VIDEO_READONLY
endif
2021-07-31 19:35:22 +09:00
INC += \
src \
$(TOP)/hw \
# Example source
EXAMPLE_SOURCE += $(wildcard src/*.c)
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
include ../../rules.mk