9 lines
181 B
Bash
Executable File
9 lines
181 B
Bash
Executable File
#!/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
|