forked from f4pga/prjxray-db
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
55 lines (44 loc) · 1.4 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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
DATABASE_FILES = *.csv *.db *.json *.yaml *.fasm
TIMINGS_FILES = *.sdf
PART_DIRECTORIES = xc7*/
clean-artix7-db:
rm -f $(addprefix artix7/,$(DATABASE_FILES))
rm -f $(addprefix artix7/timings/,$(TIMINGS_FILES))
rm -rf artix7/harness/
rm -rf $(addprefix artix7/,$(PART_DIRECTORIES))
clean-kintex7-db:
rm -f $(addprefix kintex7/,$(DATABASE_FILES))
rm -f $(addprefix kintex7/timings/,$(TIMINGS_FILES))
rm -rf kintex7/harness/
rm -rf $(addprefix kintex7/,$(PART_DIRECTORIES))
clean-zynq7-db:
rm -f $(addprefix zynq7/,$(DATABASE_FILES))
rm -f $(addprefix zynq7/timings/,$(TIMINGS_FILES))
rm -rf zynq7/harness/
rm -rf $(addprefix zynq7/,$(PART_DIRECTORIES))
clean-spartan7-db:
rm -f $(addprefix spartan7/,$(DATABASE_FILES))
rm -f $(addprefix spartan7/timings/,$(TIMINGS_FILES))
rm -rf spartan7/harness/
rm -rf $(addprefix spartan7/,$(PART_DIRECTORIES))
clean-db: clean-artix7-db clean-kintex7-db clean-zynq7-db clean-spartan7-db
@true
clean: clean-db
@true
.PHONY: clean-artix7-db clean-kintex7-db clean-zynq7-db clean-spartan7-db clean-db clean
reset:
git reset --hard
.PHONY: reset
update:
git stash
git fetch origin
git merge origin/master
git stash pop
.PHONY: update