This repository has been archived on 2024-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
stagex/Makefile

25 lines
520 B
Makefile
Raw Normal View History

2023-12-12 17:45:39 +00:00
export PLATFORM := linux/amd64
2023-12-10 18:05:50 +00:00
export BUILDER := $(shell which docker)
export REGISTRY := local
2024-01-28 10:24:33 +00:00
export MIRRORS := \
https://git.distrust.co/stagex \
stagex
2024-01-28 10:24:33 +00:00
2023-12-12 17:45:39 +00:00
clean_logs := $(shell rm *.log 2>&1 >/dev/null || :)
include src/macros.mk
include src/bootstrap/build.mk
include src/core/build.mk
include src/libs/build.mk
include src/tools/build.mk
compat:
./src/compat.sh
2023-12-12 17:45:39 +00:00
DEFAULT_GOAL := default
.PHONY: default
default: compat bootstrap core
2023-12-15 20:32:54 +00:00
out/graph.svg: Makefile
2023-12-15 20:32:54 +00:00
$(MAKE) -Bnd | make2graph | dot -Tsvg -o graph.svg