aboutsummaryrefslogtreecommitdiff
path: root/vkernel/Makefile
blob: 1a9fa0793fe410667e7dec8d27546962984ba3d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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$(FWDIR)/lib/include \
		-I$(FWDIR)/lib/cryptolib/include \
		-I../common/include \
		-I../utility/include \
		-I../misclibs/include
CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
KERNEL_OUT = kernel_image.o

all: $(KERNEL_OUT)

.c.o:
	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

clean:
	rm -f $(KERNEL_OUT)