Index: src/platform/vboot_reference/cgptlib/tests/Makefile |
diff --git a/src/platform/vboot_reference/cgptlib/tests/Makefile b/src/platform/vboot_reference/cgptlib/tests/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60871fa882b8451f22f85a2017eceed5464c15c4 |
--- /dev/null |
+++ b/src/platform/vboot_reference/cgptlib/tests/Makefile |
@@ -0,0 +1,20 @@ |
+# 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. |
+ |
+CC ?= cc |
+CFLAGS ?= -Wall -DNDEBUG -Werror -ansi |
+LIBS = ../cgpt.a ../../common/libcommon.a |
+OBJS = cgpt_test.o |
+OUT = cgpt_test |
+ |
+all: $(OUT) |
+ |
+$(OUT): $(OBJS) $(LIBS) |
+ $(CC) -o $@ $^ |
+ |
+.c.o: |
+ $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
+ |
+clean: |
+ rm -rf $(OUT) $(OBJS) |