summaryrefslogtreecommitdiff
path: root/Makefile
blob: 72c25fb40a62d6241a0a886f05012c21dc352e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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.

export CC ?= gcc
export CFLAGS = -Wall -DNDEBUG -O3 -Werror
export TOP = $(shell pwd)
export FWDIR=$(TOP)/vboot_firmware
export INCLUDES = \
	-I$(FWDIR)/include \
	-I$(TOP)/misclibs/include

export FWLIB=$(FWDIR)/vboot_fw.a

SUBDIRS=vboot_firmware misclibs vfirmware vkernel utility tests

all:
	set -e; \
	for i in $(SUBDIRS); do \
		make -C $$i; \
	done

clean:
	set -e; \
	for i in $(SUBDIRS); do \
		make -C $$i clean; \
	done