diff options
author | June McEnroe <june@causal.agency> | 2020-04-20 10:30:49 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-20 10:30:49 -0400 |
commit | 9e47bfec93049c87a9410007f9b81aeaa9276175 (patch) | |
tree | 9d39bde15ba2922186e2d2a2bb13f0e03bf6292c | |
parent | Add CREEP U (diff) | |
download | src-9e47bfec93049c87a9410007f9b81aeaa9276175.tar.gz src-9e47bfec93049c87a9410007f9b81aeaa9276175.zip |
Use . as ${LDLIBS.$@} separator
-rw-r--r-- | bin/Makefile | 24 |
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 |