mirror of
https://github.com/arthur-pbty/optifetch.git
synced 2026-08-01 20:29:33 +02:00
major update
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
echo "Compilation d'Optifetch..."
|
||||
|
||||
# Compilation directe sans Makefile
|
||||
gcc -Wall -Wextra -O3 -s -o optifetch main.c sysinfo.c logos.c config.c renderer.c
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Build réussi ! Exécutable créé : ./optifetch"
|
||||
else
|
||||
echo "Erreur lors de la compilation."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user