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

View File

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