From 60baf5923d0ee7a974717fc72cd6f6f9dbb924f6 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 26 Mar 2010 18:48:11 +0300 Subject: [PATCH] Makefile: Add CPPFLAGS handling Some developers may need to pass specific flags to compiler, usually due to different include/ directory and etc. So add well known CPPFLAGS here. Example: $ CPPFLAGS="-I/home/include" make Signed-off-by: Cyrill Gorcunov Signed-off-by: Pekka Enberg --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0bc4891..bd1488a 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ OBJS += kvm.o OBJS += main.o OBJS += util.o -CFLAGS += -Iinclude +CFLAGS += $(CPPFLAGS) -Iinclude WARNINGS += -Wall WARNINGS += -Wcast-align