summaryrefslogtreecommitdiff
path: root/examples/host/msc_file_explorer/Makefile
blob: c7d6a7cae1dba937ffc874f486cefabfabcd0dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include ../../build_system/make/make.mk

FATFS_PATH = lib/fatfs/source

INC += \
	src \
	$(TOP)/hw \
	$(TOP)/$(FATFS_PATH) \
	$(TOP)/lib/embedded-cli \

# Example source
EXAMPLE_SOURCE = \
  src/main.c \
  src/msc_app.c \

SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))

# FatFS source
SRC_C += \
  $(FATFS_PATH)/ff.c \
  $(FATFS_PATH)/ffsystem.c \
  $(FATFS_PATH)/ffunicode.c \

# suppress warning caused by fatfs
CFLAGS += -Wno-error=cast-qual

include ../../build_system/make/rules.mk