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 <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
Cyrill Gorcunov
2015-06-01 16:39:38 +01:00
committed by Will Deacon
parent 06e41eeadc
commit 60baf5923d
+1 -1
View File
@@ -5,7 +5,7 @@ OBJS += kvm.o
OBJS += main.o
OBJS += util.o
CFLAGS += -Iinclude
CFLAGS += $(CPPFLAGS) -Iinclude
WARNINGS += -Wall
WARNINGS += -Wcast-align