summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@xcc.kaivo.net>2018-11-12 18:37:30 -0500
committerJakob Kaivo <jkk@xcc.kaivo.net>2018-11-12 18:37:30 -0500
commit9384cfdbdde770eb680858b29ac5f40c5c22b45f (patch)
treeee2ca1906bacd47a0e05bbc1c0d9eedd23c24b0f /Makefile
parent3b6859a3668624f49a7bcc7fe53d41cb5f4be243 (diff)
split image conversion to a separate file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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