summaryrefslogtreecommitdiff
path: root/cras/Makefile.am
blob: 6c89bdcb3ee7b3517d17c466496e0eaefe666b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) 2012 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.
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcras.pc

compile_commands.json:
	which bear || (echo "Please install 'bear' first." && exit 1)
	bear make check -j$(nproc)

clean-local:
	rm -f compile_commands.json