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

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

Issue 596079: SHA* digest function speed test. (Closed)
Patch Set: Add explicit type cast. 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/sha_benchmark.c » ('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 4d5f969e4f3888b04d9ece47d73c063425fca1c7..04df8b1c28b9702279bd354dd8028326a8fd160c 100644
--- a/src/platform/vboot_reference/tests/Makefile
+++ b/src/platform/vboot_reference/tests/Makefile
@@ -3,16 +3,19 @@
# found in the LICENSE file.
CC ?= gcc
-CFLAGS = -Wall -ansi
+CFLAGS = -Wall
INCLUDES ?= -I../include/
TOP ?= ../
-LIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
+LIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a -lrt
-tests: sha_tests
+tests: sha_tests sha_benchmark
sha_tests: sha_tests.c
$(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(LIBS)
+sha_benchmark: sha_benchmark.c timer_utils.c
+ $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $^ -o $@ $(LIBS)
+
clean:
- rm -f sha_tests
+ rm -f sha_tests sha_benchmark
« no previous file with comments | « no previous file | src/platform/vboot_reference/tests/sha_benchmark.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698