summaryrefslogtreecommitdiff
path: root/vkernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vkernel/Makefile')
-rw-r--r--vkernel/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/vkernel/Makefile b/vkernel/Makefile
new file mode 100644
index 00000000..fa69fc9e
--- /dev/null
+++ b/vkernel/Makefile
@@ -0,0 +1,19 @@
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+CC ?= gcc
+INCLUDES += -I./include \
+ -I../cryptolib/include \
+ -I../common/include \
+ -I../misclibs/include
+CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
+KERNEL_OUT = kernel_image_fw.o kernel_image.o
+
+all: $(KERNEL_OUT)
+
+.c.o:
+ $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+clean:
+ rm -f $(KERNEL_OUT)