summary refs log tree commit diff
path: root/gfx/Makefile
diff options
context:
space:
mode:
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 $@