X-Git-Url: https://git.wirehaze.ovh/stm32f411ceu6.git/blobdiff_plain/39b92fc9ae2523ffc74c8b19f4213bb83f41d331..4bfee77ecbb19ef2143a1cd486cfa92bd3aceef4:/Makefile?ds=inline diff --git a/Makefile b/Makefile index b864e5a..3c19779 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ CFLAGS := -march=armv7e-m+fp \ -Wextra \ -Wconversion \ -Wstrict-prototypes \ + -Wmissing-prototypes \ -Wshadow \ -Wundef \ -Wdouble-promotion \ @@ -46,7 +47,7 @@ OCFLAGS := --output-target=binary # --------------------------------------------------------------------------- # -objs := kernel.o +objs := $(patsubst %.c, %.o, $(wildcard *.c)) lds := kernel.ld LDFLAGS += -T $(lds)