From a3c622a5ab8bf2cf0cde6b09ab882f4209ca8f5e Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 9 Feb 2018 15:21:47 -0500 Subject: Link LDLIBS regardless of GFX --- bin/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile index 2a4658f1..c55b42e9 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -6,8 +6,8 @@ GFX = none CFLAGS += -Wall -Wextra -Wpedantic LDLIBS = -lcurses -ledit -lutil -lz -LDLIBS_cocoa = $(LDLIBS) -framework Cocoa -LDLIBS_x11 = $(LDLIBS) -lX11 +LDLIBS_cocoa = -framework Cocoa +LDLIBS_x11 = -lX11 any: .gitignore tags $(ANY_BINS) @@ -19,7 +19,7 @@ atch: dtch ln -f dtch atch gfxx: gfxx.o gfx/$(GFX).o - $(CC) $(LDFLAGS) gfxx.o gfx/$(GFX).o $(LDLIBS_$(GFX)) -o $@ + $(CC) $(LDFLAGS) gfxx.o gfx/$(GFX).o $(LDLIBS) $(LDLIBS_$(GFX)) -o $@ pbcopy pbpaste: pbd ln -f pbd $@ -- cgit 1.4.1