mirror of https://github.com/openXC7/prjxray.git
27 lines
482 B
Makefile
27 lines
482 B
Makefile
# Copyright (C) 2017-2020 The Project X-Ray Authors.
|
|
#
|
|
# Use of this source code is governed by a ISC-style
|
|
# license that can be found in the LICENSE file or at
|
|
# https://opensource.org/licenses/ISC
|
|
#
|
|
# SPDX-License-Identifier: ISC
|
|
|
|
pushdb: build
|
|
cp build/ppips_*.db ${XRAY_DATABASE_DIR}/$(XRAY_DATABASE)/
|
|
|
|
database:
|
|
mkdir build
|
|
./generate.py
|
|
|
|
run:
|
|
$(MAKE) clean
|
|
$(MAKE) database
|
|
$(MAKE) pushdb
|
|
touch run.ok
|
|
|
|
clean:
|
|
rm -rf build run.ok
|
|
|
|
.PHONY: database pushdb run clean
|
|
|