a2e93db805
Updated : LZ4 Streaming Format.odt, to version 1.4 New : LZ4c now supports Stream Checksum (default) and Skippable chunks Updated : Fuzzer, testing LZ4_compressHC_limitedOutput() git-svn-id: https://lz4.googlecode.com/svn/trunk@93 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
26 lines
511 B
Makefile
26 lines
511 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: lz4c
|
|
|
|
all: lz4c lz4c32 fuzzer
|
|
|
|
lz4c: lz4.c lz4hc.c bench.c xxhash.c lz4c.c
|
|
$(CC) -O3 $(CFLAGS) $^ -o $@$(EXT)
|
|
|
|
lz4c32: lz4.c lz4hc.c bench.c xxhash.c lz4c.c
|
|
$(CC) -m32 -Os -march=native $(CFLAGS) $^ -o $@$(EXT)
|
|
|
|
fuzzer : lz4.c lz4hc.c fuzzer.c
|
|
$(CC) -O3 $(CFLAGS) $^ -o $@$(EXT)
|
|
|
|
clean:
|
|
rm -f core *.o lz4c$(EXT) lz4c32$(EXT) fuzzer$(EXT)
|