Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: Makefile

Issue 2719008: Nearly complete rewrite of cgpt tool. (Closed) Base URL: ssh://git@chromiumos-git//vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cgpt/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 export CC ?= gcc 5 export CC ?= gcc
6 export CXX ?= g++
6 export CFLAGS = -Wall -DNDEBUG -O3 -Werror 7 export CFLAGS = -Wall -DNDEBUG -O3 -Werror
7 export TOP = $(shell pwd) 8 export TOP = $(shell pwd)
8 export FWDIR=$(TOP)/vboot_firmware 9 export FWDIR=$(TOP)/vboot_firmware
9 export HOSTDIR=$(TOP)/host 10 export HOSTDIR=$(TOP)/host
10 export INCLUDES = \ 11 export INCLUDES = \
11 -I$(FWDIR)/include \ 12 -I$(FWDIR)/include \
12 -I$(TOP)/misclibs/include 13 -I$(TOP)/misclibs/include
13 14
14 export FWLIB=$(FWDIR)/vboot_fw.a 15 export FWLIB=$(FWDIR)/vboot_fw.a
15 export HOSTLIB=$(HOSTDIR)/vboot_host.a 16 export HOSTLIB=$(HOSTDIR)/vboot_host.a
16 17
17 SUBDIRS=vboot_firmware misclibs host vfirmware vkernel utility tests 18 SUBDIRS=vboot_firmware misclibs host vfirmware vkernel utility cgpt tests
18 19
19 all: 20 all:
20 set -e; \ 21 set -e; \
21 for i in $(SUBDIRS); do \ 22 for i in $(SUBDIRS); do \
22 make -C $$i; \ 23 make -C $$i; \
23 done 24 done
24 25
25 clean: 26 clean:
26 set -e; \ 27 set -e; \
27 for i in $(SUBDIRS); do \ 28 for i in $(SUBDIRS); do \
28 make -C $$i clean; \ 29 make -C $$i clean; \
29 done 30 done
30 31
31 install: 32 install:
32 $(MAKE) -C utility install 33 $(MAKE) -C utility install
34 $(MAKE) -C cgpt install
33 35
34 runtests: 36 runtests:
35 $(MAKE) -C tests runtests 37 $(MAKE) -C tests runtests
OLDNEW
« no previous file with comments | « no previous file | cgpt/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698