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

Side by Side Diff: libraries/nacl-mounts/test.nacl/Makefile

Issue 10377102: Added simplest device mount implementation (includes NullDevice and RandomDevice) (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client 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 # A Makefile for building sel_ldr-based nacl-mounts tests 5 # A Makefile for building sel_ldr-based nacl-mounts tests
6 6
7 SRC_DIR = $(dir $(lastword $(MAKEFILE_LIST))) 7 SRC_DIR = $(dir $(lastword $(MAKEFILE_LIST)))
8 8
9 CFLAGS += -g -Wall -Werror 9 CFLAGS += -g -Wall -Werror
10 10
11 TEST_SOURCES = \ 11 TEST_SOURCES = \
12 SimpleTest.cc \ 12 SimpleTest.cc \
13 DevTest.cc \
13 test_main.cc 14 test_main.cc
14 15
15 SOURCES = $(TEST_SOURCES) 16 SOURCES = $(TEST_SOURCES)
16 OBJECTS = $(SOURCES:.cc=.o) 17 OBJECTS = $(SOURCES:.cc=.o)
17 18
18 .PHONY: all 19 .PHONY: all
19 all: nacl_mounts_sel_ldr_tests 20 all: nacl_mounts_sel_ldr_tests
20 21
21 22
22 %.o: $(SRC_DIR)/%.cc 23 %.o: $(SRC_DIR)/%.cc
23 $(CXX) $(CFLAGS) -c $< -o $@ 24 $(CXX) $(CFLAGS) -c $< -o $@
24 25
25 nacl_mounts_sel_ldr_tests: $(OBJECTS) 26 nacl_mounts_sel_ldr_tests: $(OBJECTS)
26 $(CXX) $(LDFLAGS) $^ -o $@ -lgtest -lnacl-mounts -lpthread 27 $(CXX) $(LDFLAGS) $^ -o $@ -lgtest -lnacl-mounts -lpthread
OLDNEW
« no previous file with comments | « libraries/nacl-mounts/test.nacl/DevTest.cc ('k') | libraries/nacl-mounts/test.nacl/SimpleTest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698