From 6d4330148345bf2c4fbc5057f2897f3f8821e9c6 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Wed, 3 Oct 2018 00:52:05 +0000 Subject: [PATCH] Add DRIVER_OBJ for background drivers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d315af..f51a126 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ deps.mk: *.c drivers/*.c %.o: %.c $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $^ -%.elf: %.o +%.elf: %.o $(DRIVER_OBJ:.c=.o) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(SIZE) $@