kfetch/build.sh

9 lines
205 B
Bash
Raw Normal View History

2023-12-28 13:21:23 +00:00
#!/bin/sh
CC=cc
2024-01-03 15:46:17 +00:00
FLAGS="-Os -s -pedantic -Wall -Wextra"
2023-12-28 13:21:23 +00:00
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