--- Makefile.orig 2023-02-12 18:33:37 UTC +++ Makefile @@ -68,8 +68,8 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c $(OBJDIR)/.done $(CC) -c $(SRC_CFLAGS) $(CFLAGS) -o $@ $< # TODO: Perhaps detect and use system libdeflate if available. -maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) $(SRC_7ZIP) $(SRC_LIBDEFLATE) - $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) +maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(SRC_7ZIP) + $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) -lzopfli -ldeflate $(SRC_7ZIP): $(MAKE) -f $(SRCDIR)/7zip/Makefile 7zip.a