mirror of
https://github.com/arthur-pbty/optifetch.git
synced 2026-08-01 20:29:33 +02:00
12 lines
309 B
Bash
Executable File
12 lines
309 B
Bash
Executable File
#!/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 |