Add .clang logic

This commit is contained in:
jaseg 2019-05-12 13:42:25 +09:00
parent d83285ef7a
commit beaff00ee9
2 changed files with 6 additions and 0 deletions

View file

@ -39,6 +39,9 @@ SOURCES = main.c startup_stm32f030x6.s system_stm32f0xx.c base.c $(HAL_PATH)/Src
all: main.elf
.clang:
echo flags = $(CFLAGS) > .clang
cmsis_exports.c: $(CMSIS_DEV_PATH)/Include/stm32f030x6.h $(CMSIS_PATH)/Include/core_cm0.h
python3 gen_cmsis_exports.py $^ > $@