-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 957 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 957 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
26
27
28
#!/usr/bin/env make -f
# Copyright 2022, The Khronos Group Inc.
#
# SPDX-License-Identifier: Apache-2.0
HTML_REPORT_FILES := public/runtime_extension_support.html public/client_extension_support.html public/extension_support.html
SHARED_DEPS := $(wildcard openxr_inventory/*.py) \
$(wildcard runtimes/*.json) \
$(wildcard clients/*.json) \
openxr_inventory/templates/base.jinja2.html \
openxr_inventory/templates/runtime_extension_support.jinja2.html \
openxr_inventory/templates/client_extension_support.jinja2.html
all: $(HTML_REPORT_FILES)
.PHONY: all
public:
mkdir -p $@
public/runtime_extension_support.html: extension_support_report.py public $(SHARED_DEPS)
python3 $<
public/client_extension_support.html: extension_support_report.py public $(SHARED_DEPS)
python3 $<
public/extension_support.html: openxr_inventory/templates/extension_support.html public
cp $< $@