9 lines
205 B
Bash
Executable File
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
|