lz4/Makefile
yann.collet.73@gmail.com b1e707f772 - Corrected issue 31 : LZ4 correctly accepts compressing data when the output buffer has exactly the required size (it was a bit over-cautious in previous version).
- Added : a fuzzer tool
Thanks to Andrew Mahone, for contribution on both points


git-svn-id: https://lz4.googlecode.com/svn/trunk@79 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
2012-10-24 12:59:19 +00:00

26 lines
512 B
Makefile

CC=gcc
CFLAGS=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration
OS := $(shell uname)
ifeq ($(OS),Linux)
EXT =
else
EXT =.exe
endif
default: lz4demo
all: lz4demo lz4demo32 fuzzer
lz4demo: lz4.c lz4hc.c bench.c lz4demo.c
$(CC) -O3 $(CFLAGS) $^ -o $@$(EXT)
lz4demo32: lz4.c lz4hc.c bench.c lz4demo.c
$(CC) -m32 -Os -march=native $(CFLAGS) $^ -o $@$(EXT)
fuzzer : lz4.c fuzzer.c
$(CC) -O3 $(CFLAGS) $^ -o $@$(EXT)
clean:
rm -f core *.o lz4demo$(EXT) lz4demo32$(EXT) fuzzer$(EXT)