From 66431309dccf8af0441407bf53e9be3cbcdf6c27 Mon Sep 17 00:00:00 2001 From: Sakari Ailus Date: Thu, 29 Jul 2010 18:01:10 +0300 Subject: Do accept CFLAGS and LDFLAGS from environment. Signed-off-by: Sakari Ailus --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5c9cc68..c8c49e9 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc -CFLAGS := -O2 -W -Wall -LDFLAGS := +CFLAGS ?= -O2 -W -Wall +LDFLAGS ?= %.o : %.c $(CC) $(CFLAGS) -c -o $@ $< -- cgit v1.2.3