kfetch/build.sh
2024-01-03 18:46:17 +03:00

9 lines
205 B
Bash
Executable File

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