X-Git-Url: https://git.wirehaze.ovh/stm32f411ceu6.git/blobdiff_plain/4760553fdcf14fbf9b1a060f83be0b265bd05d8c..4bfee77ecbb19ef2143a1cd486cfa92bd3aceef4:/Makefile?ds=inline diff --git a/Makefile b/Makefile index eb4708a..3c19779 100644 --- a/Makefile +++ b/Makefile @@ -28,12 +28,11 @@ CFLAGS := -march=armv7e-m+fp \ -std=gnu90 \ -ffreestanding \ -fsingle-precision-constant \ - -pedantic \ - -pedantic-errors \ -Wall \ -Wextra \ -Wconversion \ -Wstrict-prototypes \ + -Wmissing-prototypes \ -Wshadow \ -Wundef \ -Wdouble-promotion \ @@ -48,7 +47,7 @@ OCFLAGS := --output-target=binary # --------------------------------------------------------------------------- # -objs := kernel.o +objs := $(patsubst %.c, %.o, $(wildcard *.c)) lds := kernel.ld LDFLAGS += -T $(lds)