1
0
mirror of synced 2024-11-23 21:40:58 +01:00

fix zips not updating on build

This commit is contained in:
Hay1tsme 2023-02-13 02:53:10 -05:00
parent 3e1768c778
commit 4ba5d8c530

View File

@ -19,14 +19,17 @@ include Package.mk
.PHONY: build # Build the project
build:
$(V)rm -Rf $(BUILD_DIR_ZIP)
$(V)meson --cross cross-mingw-32.txt $(BUILD_DIR_32)
$(V)ninja -C $(BUILD_DIR_32)
$(V)meson --cross cross-mingw-64.txt $(BUILD_DIR_64)
$(V)ninja -C $(BUILD_DIR_64)
.PHONY: dist # Build and create a zip distribution package
dist: build zip
dist: build clean-zip zip
.PHONY: clean-zip # Remove zip files from build dir before packaging
clean-zip:
$(V)rm -Rf $(BUILD_DIR_ZIP)/*.zip
.PHONY: zip # Create a zip distribution pacakge
zip: $(BUILD_DIR_ZIP)/bananatools.zip