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
commit7a6d92169a8a2f829322ec768ee5cfdf11deb7a1 (patch)
tree94c0f758c379939eba467e19863d5d244b57ba23 /gfx/Makefile
parentRemove zlib dependency from png.h (diff)
downloadsrc-7a6d92169a8a2f829322ec768ee5cfdf11deb7a1.tar.gz
src-7a6d92169a8a2f829322ec768ee5cfdf11deb7a1.zip
Use png.h in gfxx.c
Diffstat (limited to '')
-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 $@