diff options
author | June McEnroe <june@causal.agency> | 2018-02-09 15:21:47 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-02-09 15:21:47 -0500 |
commit | f3bf386c58d9325368960569a128e38ddff86f5e (patch) | |
tree | b846c31c019d01dc17d21fb2c06f39d49e80b8de | |
parent | Move gfx frontends around to simplify build (diff) | |
download | src-f3bf386c58d9325368960569a128e38ddff86f5e.tar.gz src-f3bf386c58d9325368960569a128e38ddff86f5e.zip |
Link LDLIBS regardless of GFX
-rw-r--r-- | bin/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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 $@ |