summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-20 10:30:49 -0400
committerJune McEnroe <june@causal.agency>2020-04-20 10:30:49 -0400
commit9e47bfec93049c87a9410007f9b81aeaa9276175 (patch)
tree9d39bde15ba2922186e2d2a2bb13f0e03bf6292c
parentAdd CREEP U (diff)
downloadsrc-9e47bfec93049c87a9410007f9b81aeaa9276175.tar.gz
src-9e47bfec93049c87a9410007f9b81aeaa9276175.zip
Use . as ${LDLIBS.$@} separator
Diffstat (limited to '')
-rw-r--r--bin/Makefile24
1 files 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