Add DRIVER_OBJ for background drivers

This commit is contained in:
Nero 2018-10-03 00:52:05 +00:00
parent 00a8c7546f
commit 6d43301483

View File

@ -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) $@