mirror of
https://github.com/arthur-pbty/optifetch.git
synced 2026-08-01 20:29:33 +02:00
fix make & mise au propre du projet
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#!/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
|
||||
# On nettoie l'ancienne compilation puis on lance make
|
||||
make clean
|
||||
make
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Build réussi ! Exécutable créé : ./optifetch"
|
||||
|
||||
Reference in New Issue
Block a user