define debug or release on build system commandline

This commit is contained in:
kamkow1
2025-06-20 04:48:27 +02:00
parent edc039db6e
commit 804fec1c7d
2 changed files with 7 additions and 4 deletions

10
scripts/update-release Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
systemctl stop aboba.service
./build clean
cc -DMY_DEBUG=0 -o build build.c
./build make
cp ./aboba /usr/local/bin/aboba
sudo systemctl start aboba.service
sudo systemctl status aboba.service