diff options
author | June McEnroe <june@causal.agency> | 2018-11-15 14:44:54 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-15 14:44:54 -0500 |
commit | 572d8a8cb6dd5d70022fc971e6a72ebabdf9bacb (patch) | |
tree | 694345b14626d511b08f88bf92086f64e1cea849 /gfx/Makefile | |
parent | Remove zlib dependency from png.h (diff) | |
download | src-572d8a8cb6dd5d70022fc971e6a72ebabdf9bacb.tar.gz src-572d8a8cb6dd5d70022fc971e6a72ebabdf9bacb.zip |
Use png.h in gfxx.c
Diffstat (limited to '')
-rw-r--r-- | gfx/Makefile | 4 |
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 $@ |