kfetch/build.sh
2024-08-06 11:59:05 +03:00

11 lines
215 B
Bash
Executable File

#!/bin/sh
CC=cc
FLAGS="-Os -s -pedantic -Wall -Wextra"
#Compile
$CC -Iinclude -I. src/main.c -c -o main.o &&
$CC -Iinclude -I. src/fetch.c -c -o fetch.o &&
$CC $FLAGS main.o fetch.o -o kfetch &&
rm main.o fetch.o