set sane build defaults

This commit is contained in:
Lance Vick 2023-02-12 04:40:54 -08:00
parent dbf043e304
commit bf0cf1107b
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,13 @@
include $(PWD)/src/toolchain/Makefile include $(PWD)/src/toolchain/Makefile
.DEFAULT_GOAL := $(OUT_DIR)/airgap.iso .DEFAULT_GOAL :=
.PHONY: default
default: \
toolchain \
$(DEFAULT_GOAL) \
$(OUT_DIR)/airgap.iso \
$(OUT_DIR)/release.env \
$(OUT_DIR)/manifest.txt
.PHONY: clean .PHONY: clean
clean: toolchain clean: toolchain
@ -44,6 +51,7 @@ vm: toolchain
.PHONY: release .PHONY: release
release: \ release: \
default \
$(OUT_DIR)/airgap.iso \ $(OUT_DIR)/airgap.iso \
$(OUT_DIR)/manifest.txt $(OUT_DIR)/manifest.txt
mkdir -p $(DIST_DIR) mkdir -p $(DIST_DIR)