kfetch/build.sh

9 lines
172 B
Bash
Raw Normal View History

2023-12-28 13:21:23 +00:00
#!/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