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 *~ |