From 9384cfdbdde770eb680858b29ac5f40c5c22b45f Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 12 Nov 2018 18:37:30 -0500 Subject: split image conversion to a separate file --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8692a6d..dfe7230 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,15 @@ CFLAGS=-Wall -Wextra -I. -IImageMagick LDFLAGS=-lpthread -LImageMagick/MagickCore/.libs LDLIBS=-lMagickCore-7.Q8 -lm -freeonebook: freeonebook.o gpio.o fb.o +freeonebook: freeonebook.o gpio.o fb.o convert.o freeonebook.o: freeonebook.c gpio.h fb.h gpio.o: gpio.c gpio.h -fb.o: fb.c fb.h +fb.o: fb.c fb.h convert.h + +convert.o: convert.c convert.h clean: rm -f freeonebook *.o -- cgit v1.2.1