From d9ef5117f6d2a0e19a60a957b206a3719b879406 Mon Sep 17 00:00:00 2001 From: "yann.collet.73@gmail.com" Date: Wed, 18 Jul 2012 19:46:57 +0000 Subject: Changed Makefile default setting to generate only native binary. The 32-bits version can still be generated (on 64-bits systems) using : make lz4demo32 git-svn-id: https://lz4.googlecode.com/svn/trunk@69 650e7d94-2a16-8b24-b05c-7c0b3f6821cd --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8a2696a..5b87bb6 100644 --- a/Makefile +++ b/Makefile @@ -2,19 +2,19 @@ OS := $(shell uname) ifeq ($(OS),Linux) OUTPUT32 = lz4demo32 - OUTPUT64 = lz4demo64 + OUTPUT = lz4demo else OUTPUT32 = LZ4Demo32.exe - OUTPUT64 = LZ4Demo64.exe + OUTPUT = LZ4Demo.exe endif -all: lz4demo64 lz4demo32 +all: lz4demo -lz4demo64: lz4.c lz4.h lz4hc.c lz4hc.h bench.c lz4demo.c - gcc -O3 -I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration lz4hc.c lz4.c bench.c lz4demo.c -o $(OUTPUT64) +lz4demo: lz4.c lz4.h lz4hc.c lz4hc.h bench.c lz4demo.c + gcc -O3 -I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration lz4hc.c lz4.c bench.c lz4demo.c -o $(OUTPUT) lz4demo32: lz4.c lz4.h lz4hc.c lz4hc.h bench.c lz4demo.c 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) clean: - rm -f core *.o $(OUTPUT32) $(OUTPUT64) + rm -f core *.o $(OUTPUT32) $(OUTPUT) -- cgit v0.12