diff --git a/Makefile b/Makefile index dbb0f3c..55ac7ab 100644 --- a/Makefile +++ b/Makefile @@ -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