Index: src/platform/vboot_reference/cgptlib/Makefile |
diff --git a/src/platform/vboot_reference/cgptlib/Makefile b/src/platform/vboot_reference/cgptlib/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..418163c2527f7f3262a5ea9976c0be7e153f7bd1 |
--- /dev/null |
+++ b/src/platform/vboot_reference/cgptlib/Makefile |
@@ -0,0 +1,24 @@ |
+# Copyright (c) 2010 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. |
+ |
+CFLAGS ?= -Wall -Werror -ansi |
+INCLUDES += tests |
+SUBDIRS = tests |
+ |
+all: cgpt.a |
+ for i in $(SUBDIRS); do \ |
+ ( cd $$i ; $(MAKE)) ; \ |
+ done |
+ |
+.c.o: |
+ $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
+ |
+cgpt.a: cgpt.o |
+ $(AR) rs cgpt.a $< |
+ |
+clean: |
+ for i in $(SUBDIRS); do \ |
+ ( $(MAKE) -C $$i clean ) ; \ |
+ done |
+ rm -f cgpt cgpt-host *.o *~ *.a |