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