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

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

Issue 604016: Vboot Reference: Move test key generation to a separate script and add sample test keys. (Closed)
Patch Set: Fix spacing. Created 10 years, 10 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 | « no previous file | src/platform/vboot_reference/tests/gen_test_keys.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/tests/Makefile
diff --git a/src/platform/vboot_reference/tests/Makefile b/src/platform/vboot_reference/tests/Makefile
index ba4c4a64f22df46b2a8f7c3b66a76500693a596b..4d5f969e4f3888b04d9ece47d73c063425fca1c7 100644
--- a/src/platform/vboot_reference/tests/Makefile
+++ b/src/platform/vboot_reference/tests/Makefile
@@ -2,14 +2,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-SRCS=sha_tests.c
-OBJS=$(SRCS:.c=.o)
-LIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
+CC ?= gcc
+CFLAGS = -Wall -ansi
+INCLUDES ?= -I../include/
+TOP ?= ../
-tests: sha_tests
+LIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
+
+tests: sha_tests
sha_tests: sha_tests.c
$(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(LIBS)
clean:
- rm -f $(OBJS) sha_tests verify_data signature_digest
+ rm -f sha_tests
« no previous file with comments | « no previous file | src/platform/vboot_reference/tests/gen_test_keys.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698