1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- Makefile.orig 2013-08-08 02:43:06.000000000 +0800 +++ Makefile 2013-08-17 10:11:19.000000000 +0800 @@ -1,12 +1,7 @@ -CC=gcc -CFLAGS=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration +CC:=$(CC) +CFLAGS+=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration -OS := $(shell uname) -ifeq ($(OS),Linux) -EXT = -else -EXT =.exe -endif +EXT= default: lz4c