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

Side by Side Diff: cgpt/Makefile

Issue 5352005: Add 'prioritize' command to cgpt tool. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cgpt/cgpt.h » ('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 CFLAGS += -static 5 CFLAGS += -static
6 LDFLAGS += -luuid 6 LDFLAGS += -luuid
7 BUILD_ROOT := ${BUILD}/cgpt 7 BUILD_ROOT := ${BUILD}/cgpt
8 8
9 INCLUDES = -I$(FWDIR)/lib/cgptlib/include -I$(FWDIR)/include 9 INCLUDES = -I$(FWDIR)/lib/cgptlib/include -I$(FWDIR)/include
10 LIBS = ${HOSTLIB} 10 LIBS = ${HOSTLIB}
11 11
12 DESTDIR ?= /usr/bin 12 DESTDIR ?= /usr/bin
13 13
14 PROGNAME = ${BUILD_ROOT}/cgpt 14 PROGNAME = ${BUILD_ROOT}/cgpt
15 15
16 ALL_SRCS = \ 16 ALL_SRCS = \
17 cgpt.c \ 17 cgpt.c \
18 cmd_show.c \ 18 cmd_show.c \
19 cmd_repair.c \ 19 cmd_repair.c \
20 cmd_create.c \ 20 cmd_create.c \
21 cmd_add.c \ 21 cmd_add.c \
22 cmd_boot.c \ 22 cmd_boot.c \
23 cmd_find.c \ 23 cmd_find.c \
24 cmd_prioritize.c \
24 cgpt_common.c 25 cgpt_common.c
25 26
26 main: $(PROGNAME) 27 main: $(PROGNAME)
27 28
28 include ../common.mk 29 include ../common.mk
29 30
30 $(PROGNAME): $(ALL_OBJS) $(LIBS) 31 $(PROGNAME): $(ALL_OBJS) $(LIBS)
31 $(CC) -o $(PROGNAME) $(CFLAGS) $^ $(LDFLAGS) 32 $(CC) -o $(PROGNAME) $(CFLAGS) $^ $(LDFLAGS)
32 33
33 install: $(PROGNAME) 34 install: $(PROGNAME)
34 mkdir -p $(DESTDIR) 35 mkdir -p $(DESTDIR)
35 cp -f $^ $(DESTDIR) 36 cp -f $^ $(DESTDIR)
36 chmod a+rx $(patsubst ${BUILD_ROOT}/%,$(DESTDIR)/%,$^) 37 chmod a+rx $(patsubst ${BUILD_ROOT}/%,$(DESTDIR)/%,$^)
37 38
38 .PHONY: all install 39 .PHONY: all install
OLDNEW
« no previous file with comments | « no previous file | cgpt/cgpt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698