From 67da8c4613f0997dd97ce9f5cf619b9dc239662d Mon Sep 17 00:00:00 2001 From: Florian Loeffler Date: Tue, 3 May 2022 19:35:38 +0200 Subject: [PATCH] fix dependencies --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5630eaa..cd7ae3f 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,13 @@ # CFLAGS=-g -Wall -lm -L/usr/lib/arm-linux-gnueabihf -lmariadb -I/usr/include/mariadb -fbdash: fbdash.c fblib fbfont +fbdash: fbdash.c fblib.o fbfont.o gcc -o $@ fblib.o fbfont.o $< $(CFLAGS) -fblib: fblib.o +fblib.o: fblib.c fblib.h gcc -c fblib.c -fbfont: fbfont.o +fbfont.o: fbfont.c fbfont.h gcc -c fbfont.c clean: