7 OUTPUT32 = LZ4Demo32.exe
8 OUTPUT64 = LZ4Demo64.exe
11 all: lz4demo64 lz4demo32
13 lz4demo64: lz4.c lz4.h lz4hc.c lz4hc.h bench.c lz4demo.c
14 gcc -O3 -I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration lz4hc.c lz4.c bench.c lz4demo.c -o $(OUTPUT64)
16 lz4demo32: lz4.c lz4.h lz4hc.c lz4hc.h bench.c lz4demo.c
17 gcc -m32 -Os -march=native -I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration lz4hc.c lz4.c bench.c lz4demo.c -o $(OUTPUT32)
20 rm -f core *.o $(OUTPUT32) $(OUTPUT64)