[functional-tests] Knock up some crc32c code.

This works 1 byte at a time so will be slow.
This commit is contained in:
Joe Thornber
2017-10-04 10:25:32 +01:00
parent 8b7e5acc48
commit 5fd33b9560
4 changed files with 114 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
crc32c.so: crc32c.o
gcc -shared -o $@ $< -laio
crc32c.o: crc32c.c
gcc -std=gnu11 -fpic -I. -Wall -c -o $@ $<
.PHONEY: clean
clean:
rm -f crc32c.so crc32c.o