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

Side by Side Diff: src/platform/vboot_reference/utility/cgpt/Makefile

Issue 2374001: cgpt supports dev and add/delete/modify commands. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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
OLDNEW
1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2009 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 TOP ?= ../../ 5 TOP ?= ../../
6 CC ?= cc 6 CC ?= cc
7 INCLUDES += -I$(TOP)/common/include -I$(TOP)/../../../chroot/usr/include/ 7 INCLUDES += -I$(TOP)/common/include -I$(TOP)/../../../chroot/usr/include/
8 CFLAGS += -Wall -Werror -ggdb 8 CFLAGS += -Wall -Werror -ggdb
9 LIBS += $(TOP)/cgptlib/libcgpt.a $(FWLIB) 9 LIBS += $(TOP)/cgptlib/libcgpt.a $(FWLIB)
10 10
11 all: cgpt 11 all: cgpt
12 12
13 cgpt: cgpt.o cgpt_attribute.o cgpt_options.o cgpt_repair.o cgpt_show.o $(LIBS) 13 cgpt: cgpt.o cgpt_add_modify_delete.o cgpt_attribute.o cgpt_dev.o \
14 cgpt_options.o cgpt_repair.o cgpt_show.o $(LIBS)
14 $(CC) -o cgpt $(CFLAGS) $^ 15 $(CC) -o cgpt $(CFLAGS) $^
15 16
16 .c.o: $(INCLUDES) 17 .c.o: $(INCLUDES)
17 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ 18 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
18 clean: 19 clean:
19 rm -f cgpt *.o *~ 20 rm -f cgpt *.o *~
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/cgptlib/cgptlib_internal.h ('k') | src/platform/vboot_reference/utility/cgpt/cgpt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698