Zhongze Hu | f8cdd79 | 2017-04-13 09:43:25 -0700 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | include common.mk |
| 6 | |
Qijiang Fan | 237ad18 | 2020-10-28 18:41:55 +0900 | [diff] [blame] | 7 | PC_DEPS = libbrillo libchrome |
Zhongze Hu | 793f51c | 2017-06-06 11:52:23 -0700 | [diff] [blame] | 8 | PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags $(PC_DEPS)) |
| 9 | PC_LIBS := $(shell $(PKG_CONFIG) --libs $(PC_DEPS)) |
| 10 | LDLIBS += $(PC_LIBS) |
| 11 | |
| 12 | CPPFLAGS += $(PC_CFLAGS) |
| 13 | |
Zhongze Hu | f8cdd79 | 2017-04-13 09:43:25 -0700 | [diff] [blame] | 14 | all: CXX_BINARY(sis-updater) |
| 15 | |
| 16 | CXX_BINARY(sis-updater): src/sis_fw_updater.o |
| 17 | |
| 18 | clean: CLEAN(CXX_BINARY(sis-updater)) |