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

Unified Diff: src/platform/vboot_reference/utility/cgpt/Makefile

Issue 2082015: add cgpt framework and attribute support. (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 side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/utility/cgpt/Makefile
diff --git a/src/platform/vboot_reference/utility/cgpt/Makefile b/src/platform/vboot_reference/utility/cgpt/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..4dd16817a9b629711def5d5b096ba71a23919eae
--- /dev/null
+++ b/src/platform/vboot_reference/utility/cgpt/Makefile
@@ -0,0 +1,20 @@
+# Copyright (c) 2009 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.
+
+TOP ?= ../../
+CC ?= cc
+INCLUDES += -I$(TOP)/common/include
+CFLAGS += -Wall -Werror -ggdb
+LIBS += $(TOP)/common/libcommon.a \
+ $(TOP)/cgptlib/libcgpt.a
+
+all: cgpt
+
+cgpt: cgpt.o cgpt_options.o cgpt_show.o cgpt_attribute.o $(LIBS)
+ $(CC) -o cgpt $(CFLAGS) $^
+
+.c.o: $(INCLUDES)
+ $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+clean:
+ rm -f cgpt *.o *~

Powered by Google App Engine
This is Rietveld 408576698