Update makefile
This commit is contained in:
parent
ec8ced3958
commit
8bc4572ae3
1 changed files with 3 additions and 3 deletions
6
Makefile
6
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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue