forked from pulp-platform/cheshire
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 739 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 739 Bytes
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
# Copyright 2022 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Nicole Narr <narrn@student.ethz.ch>
# Christopher Reinwardt <creinwar@student.ethz.ch>
# Paul Scheffler <paulsc@iis.ee.ethz.ch>
CHS_ROOT := $(shell realpath .)
BENDER ?= bender -d $(CHS_ROOT)
all:
include cheshire.mk
# Locally, make Cheshire phonies available without `chs_` prefix
define chs_phony_fwd_rule
$(patsubst chs-%,%,$(1)): $(1)
endef
$(foreach phony,$(CHS_PHONY),$(eval $(call chs_phony_fwd_rule,$(phony))))
help:
@echo "Possible phonies (may not all be implemented):"
@$(foreach phony,$(sort $(CHS_PHONY)),echo '- $(patsubst chs-%,%,$(phony))';)