From 7a6d92169a8a2f829322ec768ee5cfdf11deb7a1 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 15 Nov 2018 14:44:54 -0500 Subject: Use png.h in gfxx.c --- gfx/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gfx/Makefile') 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 $@ -- cgit 1.4.1