From 1994f122cc29504862944cca1da1c5203c7e41eb Mon Sep 17 00:00:00 2001 From: yzrh Date: Thu, 31 Dec 2020 22:36:28 +0000 Subject: Decode JBIG and JPEG during HN conversion. --- src/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index f8c1e34..005f6da 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,22 +1,22 @@ # -# Copyright (c) 2020, yzrh +# Copyright (c) 2020-2021, yzrh # # SPDX-License-Identifier: Apache-2.0 # -src = melon.c iconv.c zlib.c \ +src = melon.c iconv.c zlib.c jbig.c jpeg.c \ cnki_caj.c cnki_hn.c cnki_kdh.c cnki_outline_tree.c \ - cnki_pdf.c cnki_xml.c cnki_zlib.c cnki.c \ + cnki_pdf.c cnki_xml.c cnki_zlib.c cnki_jbig.c cnki.c \ pdf_cnki.c pdf_get.c pdf_parser.c pdf_writer.c pdf.c -inc = extern.h version.h iconv.h zlib.h \ - cnki.h pdf_cnki.h pdf.h +inc = extern.h version.h iconv.h zlib.h jbig.h jpeg.h \ + cnki.h pdf_cnki.h cnki_jbig.h pdf.h obj = ${src:.c=.o} PREFIX = /usr/local -CFLAGS = -O3 -march=native -pipe -flto=thin -Wall -LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -Wl,--as-needed +CFLAGS = -O3 -march=native -pipe -flto=thin -Wall -Wextra -Wno-unused-parameter +LDFLAGS = -Wl,-O3 -lcrypto -liconv -lz -ljbig -ljpeg -Wl,--as-needed CFLAGS += -I/usr/local/include LDFLAGS += -L/usr/local/lib -- cgit v1.2.3