X-Git-Url: https://git.wirehaze.ovh/stm32f411ceu6.git/blobdiff_plain/4bfee77ecbb19ef2143a1cd486cfa92bd3aceef4..6a64eec1a3c435b02452fc8b50d28bd4649278c3:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 3c19779..24367ad 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # preprocessor, 'cpp'. The precise recipe is '$(CPP) $(CPPFLAGS)'. CPP := arm-none-eabi-cpp -CPPFLAGS := +CPPFLAGS := -I sys/include AS := arm-none-eabi-as ASFLAGS := @@ -47,7 +47,7 @@ OCFLAGS := --output-target=binary # --------------------------------------------------------------------------- # -objs := $(patsubst %.c, %.o, $(wildcard *.c)) +objs := $(patsubst %.c, %.o, $(wildcard sys/*/*.c)) lds := kernel.ld LDFLAGS += -T $(lds)