Add clean to release targetr

This commit is contained in:
Imbus 2023-12-27 04:27:54 +01:00
parent 22214d07ca
commit 51d34af363

View file

@ -12,7 +12,7 @@ objects: mkdir
asm: mkdir asm: mkdir
cd build && gcc -S -masm=intel -I ../lib -Wall -Werror -fpic ../src/*.c -O3 cd build && gcc -S -masm=intel -I ../lib -Wall -Werror -fpic ../src/*.c -O3
release: mkdir build && check-releases release: clean mkdir build && check-releases
mkdir release -p mkdir release -p
strip build/main strip build/main
cd release && tar -czvf build.tar.gz ../build &> /dev/null cd release && tar -czvf build.tar.gz ../build &> /dev/null