separate iar and gcc build for clean make, also add cpu specific make

This commit is contained in:
hathach
2023-06-24 17:35:37 +07:00
parent 50e61e0e16
commit edbf06aaab
10 changed files with 275 additions and 221 deletions

View File

@@ -5,7 +5,11 @@ INC += \
$(TOP)/hw \
# Example source
EXAMPLE_SOURCE += $(wildcard src/*.c)
EXAMPLE_SOURCE += \
src/main.c \
src/msc_disk.c \
src/usb_descriptors.c \
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
include ../../rules.mk