From c7896523bcdd78c549132ab579d6fbed8a778983 Mon Sep 17 00:00:00 2001 From: Harrison <53527582+HTV04@users.noreply.github.com> Date: Sun, 17 Apr 2022 22:07:38 -0400 Subject: [PATCH] Update Makefile --- .gitignore | 4 ++-- Makefile | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index c4d63bf..d155455 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Build -build/* +/dist/* # Visual Studio Code -.vscode/* +/.vscode/* diff --git a/Makefile b/Makefile index 934e789..71407c1 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,13 @@ # -------------------------------------------------------------------------------- build: - rm -rf build - mkdir -p build/sd/apps/wiirdle + @rm -rf dist + @mkdir -p dist/sd/apps/wiirdle/data - cp -r res/* build/sd/apps/wiirdle - cp -r src build/sd/apps/wiirdle/data + @cp -r res/* dist/sd/apps/wiirdle + @cp -r src/* dist/sd/apps/wiirdle/data -release: build - cd build/sd; zip -r -9 ../wiirdle.zip . + @cd dist/sd; zip -r -9 ../wiirdle.zip . + +clean: + @rm -rf dist