blob: 6602af1b78b2ea40fde5417a687ad88ef0f79245 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This Makefile is intended to be use in a normal Linux environment.
USE = "X"
GRAPHICS_BACKEND = "OPENGL"
prefix ?= /usr/local
BINDIR = $(DESTDIR)$(prefix)/bin
INSTALL ?= install
.PHONY: all clean
all clean:
$(MAKE) -C src USE=$(USE) GRAPHICS_BACKEND=$(GRAPHICS_BACKEND) $@
.PHONY: install
install:
mkdir -p $(BINDIR)
$(INSTALL) glbench $(BINDIR)