commit 0165e125dc0697a43900260f4f4a9c66608d23c1
parent ac2f4b7dd729d817e957f7af6717058a976129ae
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Thu, 14 Oct 2021 23:24:41 -0500
Makefile: replace nonportable $+
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -10,13 +10,13 @@ NPM_CORE = "npm-core"
all: npm-core npm-agent npmc
npm-core: npm-core.o monocypher.o util.o
- $(CC) $(LDFLAGS) $+ -o $@
+ $(CC) $(LDFLAGS) npm-core.o monocypher.o util.o -o $@
npm-agent: npm-agent.o util.o
- $(CC) $(LDFLAGS) $+ -o $@
+ $(CC) $(LDFLAGS) npm-agent.o util.o -o $@
npmc: npmc.o util.o
- $(CC) $(LDFLAGS) $+ -o $@
+ $(CC) $(LDFLAGS) npmc.o util.o -o $@
npm-agent.o: npm-agent.c
$(CC) '-DNPM_CORE=$(NPM_CORE)' $(CFLAGS) -c $< -o $@