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

Unified Diff: src/platform/vboot_reference/cgptlib/tests/Makefile

Issue 1729006: Add helper functions and files for gpt tests. (Closed)
Patch Set: fix for code review Created 10 years, 8 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
« no previous file with comments | « src/platform/vboot_reference/cgptlib/gpt.h ('k') | src/platform/vboot_reference/cgptlib/tests/cgpt_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « src/platform/vboot_reference/cgptlib/gpt.h ('k') | src/platform/vboot_reference/cgptlib/tests/cgpt_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698