diff options
| author | Jakob Kaivo <jkk@xcc.kaivo.net> | 2018-11-12 18:37:30 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@xcc.kaivo.net> | 2018-11-12 18:37:30 -0500 |
| commit | 9384cfdbdde770eb680858b29ac5f40c5c22b45f (patch) | |
| tree | ee2ca1906bacd47a0e05bbc1c0d9eedd23c24b0f /Makefile | |
| parent | 3b6859a3668624f49a7bcc7fe53d41cb5f4be243 (diff) | |
split image conversion to a separate file
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
