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

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

Issue 870005: Move gl_Bench into a dep so that it can be re-used among tests (Closed)
Patch Set: Created 10 years, 9 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 | « client/deps/glbench/glbench.py ('k') | client/deps/glbench/src.orig/bench.cc » ('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 = main.cc bench.cc xlib_window.cc shaders.cc utils.cc 5 SOURCES = main.cc bench.cc xlib_window.cc shaders.cc utils.cc
6 6
7 CXXFLAGS = -g -Wall -Werror -I$(GCLIENT_ROOT)/src/third_party/chrome/files 7 CXXFLAGS = -g -Wall -Werror -I$(GCLIENT_ROOT)/src/third_party/chrome/files
8 LDFLAGS = -lGL -lX11 -L$(GCLIENT_ROOT)/src/third_party/chrome -lbase -lrt 8 LDFLAGS = -lGL -lX11 -L$(GCLIENT_ROOT)/src/third_party/chrome -lbase -lrt
9 TARGET = ../gl_Bench 9 TARGET = ../glbench
10 10
11 GCLIENT_ROOT ?= ../../../../../../../.. 11 GCLIENT_ROOT ?= ../../../../../../../..
12 12
13 ifdef USE_EGL 13 ifdef USE_EGL
14 CXXFLAGS += -I$(GCLIENT_ROOT)/src/third_party/khronos/files/include 14 CXXFLAGS += -I$(GCLIENT_ROOT)/src/third_party/khronos/files/include
15 SOURCES += egl_stuff.cc 15 SOURCES += egl_stuff.cc
16 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/khronos/files -lEGL 16 LDFLAGS += -L$(GCLIENT_ROOT)/src/third_party/khronos/files -lEGL
17 else 17 else
18 SOURCES += glx_stuff.cc 18 SOURCES += glx_stuff.cc
19 endif 19 endif
(...skipping 10 matching lines...) Expand all
30 clean: 30 clean:
31 $(RM) $(TARGET) $(OBJS) $(DEPS) 31 $(RM) $(TARGET) $(OBJS) $(DEPS)
32 32
33 $(TARGET): 33 $(TARGET):
34 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS) 34 $(CXX) $^ -o $@ $(CXXFLAGS) $(LDFLAGS)
35 35
36 $(OBJS): %.o: %.cc 36 $(OBJS): %.o: %.cc
37 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD 37 $(CXX) $(CXXFLAGS) -c $< -o $@ -MMD
38 38
39 -include $(DEPS) 39 -include $(DEPS)
OLDNEW
« no previous file with comments | « client/deps/glbench/glbench.py ('k') | client/deps/glbench/src.orig/bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698