-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
42 lines (32 loc) · 1.04 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
# ----------------------------------------------------
# Path setup
# ----------------------------------------------------
PROJ_ROOT = .
include $(PROJ_ROOT)/config.mk
# ----------------------------------------------------
# Help
# ----------------------------------------------------
help: __header _config_help
__header:
@echo "ESnet FPGA library"
@echo "========================================"
.PHONY: _header help
# ----------------------------------------------------
# Configure device properties for project
# ----------------------------------------------------
# Usage:
# make config [PART=<part>] [BOARD_PART=<board_part>] [BOARD_REPO=<path_to_board_files>]
config: _config
_paths:
$(_proj_print_paths)
.PHONY: config _paths
# Include part configuration targets
include $(SCRIPTS_ROOT)/Makefiles/config_part.mk
# ----------------------------------------------------
# Clean project
# ----------------------------------------------------
clean:
@echo "Removing all output products..."
@rm -rf $(OUTPUT_ROOT)
@echo "Done."
.PHONY: clean