kfetch/build.sh
2024-01-03 15:09:07 +03:00

9 lines
181 B
Bash
Executable File

#!/bin/sh
CC=cc
FLAGS="-Os -s"
$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