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

Side by Side Diff: client/deps/glbench/src/Makefile

Issue 1524009: Use gflags in teartest. (Closed)
Patch Set: nit Created 10 years, 8 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 | client/deps/glbench/src/main.h » ('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 SOURCES_COMMON = xlib_window.cc utils.cc 5 SOURCES_COMMON = xlib_window.cc utils.cc
6 SOURCES_GL_BENCH = main.cc bench.cc shaders.cc 6 SOURCES_GL_BENCH = main.cc bench.cc shaders.cc
7 SOURCES_TEARTEST = teartest.cc 7 SOURCES_TEARTEST = teartest.cc
8 SOURCES_ALL = $(SOURCES_COMMON) $(SOURCES_GL_BENCH) $(SOURCES_TEARTEST) 8 SOURCES_ALL = $(SOURCES_COMMON) $(SOURCES_GL_BENCH) $(SOURCES_TEARTEST)
9 9
10 CXXFLAGS = -g -Wall -Werror -I$(GCLIENT_ROOT)/src/third_party/chrome/files 10 CXXFLAGS = -g -Wall -Werror -I$(GCLIENT_ROOT)/src/third_party/chrome/files
11 LDFLAGS = -lGL -lX11 -L$(GCLIENT_ROOT)/src/third_party/chrome -lbase -lrt 11 LDFLAGS = -lGL -lX11
12 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/chrome -lbase -lrt -lgflags
12 GL_BENCH = ../glbench 13 GL_BENCH = ../glbench
13 TEARTEST = ../teartest 14 TEARTEST = ../teartest
14 15
15 GCLIENT_ROOT ?= ../../../../../../../.. 16 GCLIENT_ROOT ?= ../../../../../../../..
16 17
17 ifdef USE_EGL 18 ifdef USE_EGL
18 CXXFLAGS += -I$(GCLIENT_ROOT)/src/third_party/khronos/files/include 19 CXXFLAGS += -I$(GCLIENT_ROOT)/src/third_party/khronos/files/include
19 SOURCES_COMMON += egl_stuff.cc 20 SOURCES_COMMON += egl_stuff.cc
20 SOURCES_TEARTEST += teartest_egl.cc 21 SOURCES_TEARTEST += teartest_egl.cc
21 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/khronos/files -lEGL 22 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/khronos/files -lEGL
(...skipping 18 matching lines...) Expand all
40 clean: 41 clean:
41 $(RM) $(GL_BENCH) $(TEARTEST) $(OBJS_ALL) $(DEPS_ALL) 42 $(RM) $(GL_BENCH) $(TEARTEST) $(OBJS_ALL) $(DEPS_ALL)
42 43
43 $(GL_BENCH) $(TEARTEST): 44 $(GL_BENCH) $(TEARTEST):
44 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) 45 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS)
45 46
46 $(OBJS_ALL): %.o: %.cc 47 $(OBJS_ALL): %.o: %.cc
47 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD 48 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD
48 49
49 -include $(DEPS_ALL) 50 -include $(DEPS_ALL)
OLDNEW
« no previous file with comments | « no previous file | client/deps/glbench/src/main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698