From 8ef59d2c9ca8675bf9676c49847826427d9b6d26 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 29 Aug 2007 11:59:47 +0100 Subject: Make optflags easier for distros to override Signed-off-by: David Woodhouse --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b7ffd58..679dc7e 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,13 @@ # -*- sh -*- +OPTFLAGS := -O2 -Wall SBINDIR=/usr/sbin MANDIR=/usr/man INCLUDEDIR=/usr/include #CROSS=arm-linux- CC := $(CROSS)gcc -CFLAGS := -I./include -O2 -Wall +CFLAGS := -I./include $(OPTFLAGS) ifeq ($(origin CROSS),undefined) BUILDDIR := . -- cgit v1.2.3