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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/platform/vboot_reference/tests/sha_benchmark.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 CC ?= gcc 5 CC ?= gcc
6 CFLAGS = -Wall -ansi 6 CFLAGS = -Wall
7 INCLUDES ?= -I../include/ 7 INCLUDES ?= -I../include/
8 TOP ?= ../ 8 TOP ?= ../
9 9
10 LIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a 10 LIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a -lrt
11 11
12 tests: sha_tests 12 tests: sha_tests sha_benchmark
13 13
14 sha_tests: sha_tests.c 14 sha_tests: sha_tests.c
15 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(LIBS) 15 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(LIBS)
16 16
17 sha_benchmark: sha_benchmark.c timer_utils.c
18 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $^ -o $@ $(LIBS)
19
17 clean: 20 clean:
18 » rm -f sha_tests 21 » rm -f sha_tests sha_benchmark
OLDNEW
« 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