remove rust and change compiler flags

This commit is contained in:
2025-05-04 23:20:39 +02:00
parent 6056ace365
commit 717f3dfa41

View File

@ -1,17 +1,10 @@
install: build debug:
install -D -m 0755 --target-directory="${HOME}/.local/bin" build/has_internet target/release/Hentai add_and_download_url.sh download_website.sh gcc -ansi -ggdb -o build/hdb src/main.c src/db.c -lsqlite3
install -D -m 0755 --target-directory="${HOME}/.config" Hentai.conf
build: release:
gcc -std=gnu23 -o build/has_internet src/has_internet.c gcc -ansi -O2 -pipe -fno-semantic-interposition -o build/hdb src/main.c src/db.c -lsqlite3
strip build/has_internet strip build/hdb
cargo build --release
strip target/release/Hentai
uninstall: beehive: release
rm -f "${HOME}"/.local/bin/has_internet "${HOME}"/.local/bin/Hentai "${HOME}"/.local/bin/add_and_download_url.sh "${HOME}"/.local/bin/download_website.sh scp build/hdb beehive:.local/bin
rm -f "${HOME}"/.config/Hentai.conf scp HDB.conf beehive:.config
beehive: build
scp build/has_internet target/release/Hentai add_and_download_url.sh download_website.sh beehive:.local/bin
scp Hentai.conf beehive:.config