blob: 934727333a3ed89fabaf0a2b9f192bb08ac68694 [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 windowmanagertest $(BINDIR)