diff --git a/Makefile b/Makefile index 25efb0d..af59bf0 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,12 @@ build_release: clean odin build . -out:${BIN_FOLDER}/${EXE}_rel.exe -o:speed -subsystem:windows clean: - rm -rf ${BIN_FOLDER}/${EXE}.* - rm -rf ${BIN_FOLDER}/${EXE}_rel.* + rm -rf ${BIN_FOLDER}/* package: build_release rm -rf ${BIN_FOLDER}/${REL_FOLDER} mkdir ${BIN_FOLDER}/${REL_FOLDER} cp -r ./assets/ ${BIN_FOLDER}/${REL_FOLDER}/ cp ${BIN_FOLDER}/${EXE}_rel.exe ${BIN_FOLDER}/${REL_FOLDER}/${EXE}.exe - tar.exe -a -c -f ${BIN_FOLDER}/release_x64_win.zip ${BIN_FOLDER}/release_x64_win + cd ${BIN_FOLDER} \ + && tar.exe -a -c -f ${REL_FOLDER}.zip ${REL_FOLDER}