-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Henry Minsky
authored and
Henry Minsky
committed
Jul 18, 2015
1 parent
77faaa0
commit 0994ea2
Showing
12 changed files
with
1,796 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
* (C) Henry Minsky ([email protected]) 1991-2009 | ||
* | ||
* This software library is licensed under terms of the GNU GENERAL | ||
* PUBLIC LICENSE. [See file gpl.txt] | ||
* | ||
* Commercial licensing is available under a separate license, please | ||
* contact author for details. | ||
* | ||
* Latest source code and other info at http://rscode.sourceforge.net | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Makefile for Cross Interleaved Reed Solomon encoder/decoder | ||
# | ||
# (c) Henry Minsky, Universal Access 1991-1996 | ||
# | ||
|
||
RANLIB = ranlib | ||
AR = ar | ||
|
||
|
||
VERSION = 1.0 | ||
DIRNAME= rscode-$(VERSION) | ||
|
||
|
||
CC = gcc | ||
# OPTIMIZE_FLAGS = -O69 | ||
DEBUG_FLAGS = -g | ||
CFLAGS = -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.h | ||
LIB_OBJS = rs.o galois.o berlekamp.o crcgen.o | ||
|
||
TARGET_LIB = libecc.a | ||
TEST_PROGS = example | ||
|
||
TARGETS = $(TARGET_LIB) $(TEST_PROGS) | ||
|
||
all: $(TARGETS) | ||
|
||
$(TARGET_LIB): $(LIB_OBJS) | ||
$(RM) $@ | ||
$(AR) cq $@ $(LIB_OBJS) | ||
if [ "$(RANLIB)" ]; then $(RANLIB) $@; fi | ||
|
||
example: example.o galois.o berlekamp.o crcgen.o rs.o | ||
gcc -o example example.o -L. -lecc | ||
|
||
clean: | ||
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# rscode | ||
Reed-Solomon encode/decode error correction library, in ANSI C | ||
RSCODE version 1.3 | ||
|
||
See the files | ||
|
||
config.doc documentation of some compile time parameters | ||
rs.doc overview of the Reed-Solomon coding program | ||
rs.man a man page, slightly outdated at this point | ||
example.c a simple example of encoding,decoding, and error correction | ||
|
||
Makefile should work on a Sun system, may require GNU make. | ||
|
||
|
||
Henry Minsky | ||
[email protected] | ||
|
||
|
||
* (c) Henry Minsky ([email protected]) 1991-2009 | ||
* | ||
* This software library is licensed under terms of the GNU GENERAL | ||
* PUBLIC LICENSE. (See gpl.txt) | ||
* | ||
* Commercial licensing is available under a separate license, please | ||
* contact author for details. | ||
* | ||
* Source code is available at http://rscode.sourceforge.net | ||
|
||
|
Oops, something went wrong.