Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
htv04 committed Apr 18, 2022
1 parent 7d06859 commit c789652
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build
build/*
/dist/*

# Visual Studio Code
.vscode/*
/.vscode/*
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c789652

Please sign in to comment.