⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 JPEG2000 EBCOT算法源码
💻
字号:
CC = cc

INCLUDES = -I../common -I../ebcot_common -I../line_xform -I.
C_OPT = -O
CFLAGS = -Aa $(INCLUDES) $(C_OPT)

BIN_DIR = ../bin

SYNTHESIS_OBJS = hplx_info.o hplx_vert.o hplx_hor.o
DEQUANTIZER_OBJS = hpdz_dequant.o
DECODER_OBJS = ebcot_arith_decoder.o ebcot_common.o ebcot_decoder.o ebcot_receive_bits.o
BITSTREAM_OBJS = std_bitsource.o

ebcot_lite :: decompress_config.h ../decompress/decompress.c ../common/line_block_ifc.h ../common/local_heap.h $(SYNTHESIS_OBJS) $(DEQUANTIZER_OBJS) $(DECODER_OBJS) ebcot_lite_decode_passes.o $(BITSTREAM_OBJS)
	$(CC) $(CFLAGS) ../decompress/decompress.c \
	      $(SYNTHESIS_OBJS) \
	      $(DEQUANTIZER_OBJS) \
	      $(DECODER_OBJS) ebcot_lite_decode_passes.o \
	      $(BITSTREAM_OBJS) \
	      -o $(BIN_DIR)/ebcot_lite_decompress -lm

# Synthesis objects.

hplx_info.o :: ../common/hplx_info.c ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ../common/hplx_info.c -o hplx_info.o
hplx_vert.o :: ../line_xform/hplx_vert.c ../line_xform/hplx_def.h ../line_xform/hplx_hor.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ../line_xform/hplx_vert.c -o hplx_vert.o
hplx_hor.o :: ../line_xform/hplx_hor.c ../line_xform/hplx_def.h ../line_xform/hplx_hor.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ../line_xform/hplx_hor.c -o hplx_hor.o

# Dequantizer objects.

hpdz_dequant.o :: ../decompress/hpdz_dequant.c ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ../decompress/hpdz_dequant.c -o hpdz_dequant.o

# Decoder objects.

ebcot_arith_decoder.o :: ebcot_arith_decoder.c ebcot_arith_decoder.h ebcot_decoder.h ../ebcot_common/ebcot_common.h ../ebcot_common/ebcot_constants.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ebcot_arith_decoder.c -o ebcot_arith_decoder.o

ebcot_common.o :: ../ebcot_common/ebcot_common.c ../ebcot_common/ebcot_common.h ../ebcot_common/ebcot_constants.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ../ebcot_common/ebcot_common.c -o ebcot_common.o

ebcot_lite_decode_passes.o :: ebcot_lite_decode_passes.c ebcot_arith_decoder.h ebcot_decoder.h ../ebcot_common/ebcot_common.h ../ebcot_common/ebcot_constants.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ebcot_lite_decode_passes.c -o ebcot_lite_decode_passes.o

ebcot_decoder.o :: ebcot_decoder.c ebcot_arith_decoder.h ../ebcot_common/ebcot_common.h ../ebcot_common/ebcot_constants.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ebcot_decoder.c -o ebcot_decoder.o

ebcot_receive_bits.o :: ebcot_receive_bits.c ebcot_receive_bits.h ebcot_decoder.h ../ebcot_common/ebcot_common.h ../ebcot_common/ebcot_constants.h ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ebcot_receive_bits.c -o ebcot_receive_bits.o

# Bitstream objects.

std_bitsource.o :: ../decompress/std_bitsource.c ../common/line_block_ifc.h ../common/local_heap.h
	$(CC) $(CFLAGS) -c ../decompress/std_bitsource.c -o std_bitsource.o

clean ::
	rm $(SYNTHESIS_OBJS) \
	   $(DEQUANTIZER_OBJS) \
	   $(DECODER_OBJS) ebcot_lite_decode_passes.o \
	   $(BITSTREAM_OBJS)



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -