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

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

Issue 10392070: Socket subsystem implementation (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 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 += -I/usr/local/google/home/vissi/oogle/naclports/src/libraries/nacl-moun ts -I/usr/local/google/home/vissi/oogle/naclports/src/libraries/nacl-mounts/incl ude -g -Wall -Werror
10 10
11 TEST_SOURCES = \ 11 TEST_SOURCES = \
12 SimpleTest.cc \ 12 SimpleTest.cc \
13 DevTest.cc \ 13 DevTest.cc \
14 test_main.cc 14 test_main.cc
15 15
16 SOURCES = $(TEST_SOURCES) 16 SOURCES = $(TEST_SOURCES)
17 OBJECTS = $(SOURCES:.cc=.o) 17 OBJECTS = $(SOURCES:.cc=.o)
18 18
19 .PHONY: all 19 .PHONY: all
20 all: nacl_mounts_sel_ldr_tests 20 all: nacl_mounts_sel_ldr_tests
21 21
22 22
23 %.o: $(SRC_DIR)/%.cc 23 %.o: $(SRC_DIR)/%.cc
24 $(CXX) $(CFLAGS) -c $< -o $@ 24 $(CXX) $(CFLAGS) -c $< -o $@
25 25
26 nacl_mounts_sel_ldr_tests: $(OBJECTS) 26 nacl_mounts_sel_ldr_tests: $(OBJECTS)
27 $(CXX) $(LDFLAGS) $^ -o $@ -lgtest -lnacl-mounts -lpthread 27 $(CXX) $(LDFLAGS) $^ -o $@ -lgtest -lnacl-mounts -lpthread
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698