From ba9680251ac94b203742fb5601e2f497a62c042a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 20 Apr 2020 10:30:49 -0400 Subject: Use . as ${LDLIBS.$@} separator --- bin/Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/bin/Makefile b/bin/Makefile index 3d85542c..c170d07b 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -6,15 +6,15 @@ CFLAGS += -I${LIBS_PREFIX}/include LDFLAGS += -L${LIBS_PREFIX}/lib CFLAGS += -Wall -Wextra -Wpedantic -Wno-gnu-case-range -LDLIBS_dtch = -lutil -LDLIBS_glitch = -lz -LDLIBS_hnel = -lutil -LDLIBS_modem = -lutil -LDLIBS_pngo = -lz -LDLIBS_ptee = -lutil -LDLIBS_relay = -ltls -LDLIBS_scheme = -lm -LDLIBS_title = -lcurl +LDLIBS.dtch = -lutil +LDLIBS.glitch = -lz +LDLIBS.hnel = -lutil +LDLIBS.modem = -lutil +LDLIBS.pngo = -lz +LDLIBS.ptee = -lutil +LDLIBS.relay = -ltls +LDLIBS.scheme = -lm +LDLIBS.title = -lcurl -include config.mk @@ -65,13 +65,13 @@ tls: meta ${BINS_TLS} meta: .gitignore tags .c: - ${CC} ${CFLAGS} ${LDFLAGS} $< ${LDLIBS_$@} -o $@ + ${CC} ${CFLAGS} ${LDFLAGS} $< ${LDLIBS.$@} -o $@ .o: - ${CC} ${LDFLAGS} $< ${LDLIBS_$@} -o $@ + ${CC} ${LDFLAGS} $< ${LDLIBS.$@} -o $@ hi: hi.c - ${CC} ${CFLAGS} ${LDFLAGS} hi.c ${LDLIBS_$@} -o $@ + ${CC} ${CFLAGS} ${LDFLAGS} hi.c ${LDLIBS.$@} -o $@ ./hi -c open pbcopy pbpaste: pbd -- cgit 1.4.1