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

📄 makefile

📁 RS译码器的C源代码,采用了BM算法
💻
字号:
# Makefile for Cross Interleaved Reed Solomon encoder/decoder## (c) Henry Minsky, Universal Access 1991-1996#RANLIB = ranlibAR = arVERSION = 1.0DIRNAME= rscode-$(VERSION)CC = gcc# OPTIMIZE_FLAGS = -O69DEBUG_FLAGS = -gCFLAGS = -Wall -Wstrict-prototypes  $(OPTIMIZE_FLAGS) $(DEBUG_FLAGS) -I..LDFLAGS = $(OPTIMIZE_FLAGS) $(DEBUG_FLAGS)LIB_CSRC = rs.c galois.c berlekamp.c crcgen.c LIB_HSRC = ecc.hLIB_OBJS = rs.o galois.o berlekamp.o crcgen.o TARGET_LIB = libecc.aTEST_PROGS = exampleTARGETS = $(TARGET_LIB) $(TEST_PROGS)all: $(TARGETS)$(TARGET_LIB): $(LIB_OBJS)	$(RM) $@	$(AR) cq $@ $(LIB_OBJS)	if [ "$(RANLIB)" ]; then $(RANLIB) $@; fiexample: example.o galois.o berlekamp.o crcgen.o rs.o	gcc -o example example.o -L. -leccclean:	rm -f *.o example libecc.a	rm -f *~dist:	(cd ..; tar -cvf rscode-$(VERSION).tar $(DIRNAME))depend:	makedepend $(SRCS)# DO NOT DELETE THIS LINE -- make depend depends on it.

⌨️ 快捷键说明

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