diff --git a/src/Makefile b/src/Makefile index 5442ff0..74aff8e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,12 +4,12 @@ # SPDX-License-Identifier: Apache-2.0 # -src = melon.c iconv.c zlib.c jbig.c jbig2.c jpeg.c jp2.c \ - cnki_caj.c cnki_hn.c cnki_kdh.c cnki_outline_tree.c \ - cnki_pdf.c cnki_zlib.c cnki_jbig.c cnki_jbig2.c cnki.c \ +src = melon.c iconv.c zlib.c jbig2.c jpeg.c jp2.c \ + cnki_caj.c cnki_hn.c cnki_kdh.c cnki_outline_tree.c cnki_pdf.c \ + cnki_zlib.c cnki_jbig.c cnki_jbig_dec.c cnki_jbig2.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 jbig.h jbig2.h jpeg.h jp2.h \ - cnki.h pdf_cnki.h cnki_jbig.h pdf.h +inc = extern.h version.h iconv.h zlib.h jbig2.h jpeg.h jp2.h \ + cnki.h pdf_cnki.h cnki_jbig.h cnki_jbig_dec.h pdf.h obj = ${src:.c=.o} diff --git a/src/cnki_jbig.c b/src/cnki_jbig.c index f35d1d5..acc43eb 100644 --- a/src/cnki_jbig.c +++ b/src/cnki_jbig.c @@ -8,7 +8,7 @@ #include #include "cnki_jbig.h" -#include "jbig.h" +#include "cnki_jbig_dec.h" int cnki_jbig(char **bitmap, int *bitmap_size, diff --git a/src/jbig.c b/src/cnki_jbig_dec.c similarity index 100% rename from src/jbig.c rename to src/cnki_jbig_dec.c diff --git a/src/jbig.h b/src/cnki_jbig_dec.h similarity index 100% rename from src/jbig.h rename to src/cnki_jbig_dec.h