commit 30660fc160a15504274d40d4a5ec1b31539f8c2f parent c7592c6a5c2ff7b390af89f297d5c9e1c34c9414 Author: Charles E. Lehner <cel@celehner.com> Date: Mon, 21 Sep 2020 09:17:47 -0400 Link with libraries before objects Diffstat:
M | Makefile | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -6,11 +6,11 @@ include $(OUTDIR)/cppcache gmni: $(gmni_objects) @printf 'CCLD\t$@\n' - @$(CC) $(LDFLAGS) $(LIBS) -o $@ $(gmni_objects) + $(CC) $(LDFLAGS) -o $@ $(gmni_objects) $(LIBS) gmnlm: $(gmnlm_objects) @printf 'CCLD\t$@\n' - @$(CC) $(LDFLAGS) $(LIBS) -o $@ $(gmnlm_objects) + @$(CC) $(LDFLAGS) -o $@ $(gmnlm_objects) $(LIBS) doc/gmni.1: doc/gmni.scd doc/gmnlm.1: doc/gmnlm.scd