summary refs log tree commit diff
path: root/gfx/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-15 14:44:54 -0500
committerJune McEnroe <june@causal.agency>2018-11-15 14:44:54 -0500
commit572d8a8cb6dd5d70022fc971e6a72ebabdf9bacb (patch)
tree694345b14626d511b08f88bf92086f64e1cea849 /gfx/Makefile
parentRemove zlib dependency from png.h (diff)
downloadsrc-572d8a8cb6dd5d70022fc971e6a72ebabdf9bacb.tar.gz
src-572d8a8cb6dd5d70022fc971e6a72ebabdf9bacb.zip
Use png.h in gfxx.c
Diffstat (limited to 'gfx/Makefile')
-rw-r--r--gfx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx/Makefile b/gfx/Makefile
index 22198835..20ff5ecd 100644
--- a/gfx/Makefile
+++ b/gfx/Makefile
@@ -5,7 +5,7 @@ BINS = brot gfxx
 MAN1 = $(BINS:%=man/%.1)
 
 CFLAGS += -Wall -Wextra -Wpedantic
-LDLIBS = -lm -lz
+LDLIBS = -lm
 LDLIBS_cocoa = -framework Cocoa
 LDLIBS_x11 = -lX11
 
@@ -18,6 +18,8 @@ brot.o gfxx.o: gfx.h
 
 cocoa.o fb.o x11.o: gfx.h
 
+gfxx.o: png.h
+
 brot: brot.o $(GFX).o
 	$(CC) $(LDFLAGS) brot.o $(GFX).o $(LDLIBS) $(LDLIBS_$(GFX)) -o $@