summaryrefslogtreecommitdiff
path: root/make-elf
blob: c8c9bae2e44982c0fdc5e3bfce3acbf30951059d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Copyright 2020 Daniel Friesel
#
# SPDX-License-Identifier: BSD-2-Clause

set -e

find src -name '*.o' -delete
rm -f build/system.elf

make "$@" build/system.elf