| OLD | NEW |
| 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 = ../glbench | 9 TARGET = ../glbench |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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) |
| OLD | NEW |