Mon, 20 Apr 2026 22:00:43 +0200
fix build for linkers that expect libs to come last
fixes #826
| src/Makefile | file | annotate | diff | comparison | revisions |
--- a/src/Makefile Fri Apr 17 14:08:10 2026 +0200 +++ b/src/Makefile Mon Apr 20 22:00:43 2026 +0200 @@ -34,7 +34,7 @@ all: $(BUILDDIR)/terminal-chess FORCE $(BUILDDIR)/terminal-chess: $(OBJ) $(BUILDDIR)/libchess$(LIB_EXT) - $(CC) -o $@ $(LDFLAGS) $^ + $(CC) -o $@ $^ $(LDFLAGS) $(BUILDDIR)/libchess$(LIB_EXT): FORCE cd chess; $(MAKE)