kfetch/build.sh

9 lines
181 B
Bash
Raw Normal View History

2023-12-28 13:21:23 +00:00
#!/bin/sh
CC=cc
FLAGS="-Os -s"
2024-01-03 12:09:07 +00:00
$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 &&
2023-12-28 13:21:23 +00:00
rm main.o fetch.o