From f3bf386c58d9325368960569a128e38ddff86f5e Mon Sep 17 00:00:00 2001 From: June 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') 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