mirror of
https://github.com/cc65/cc65.git
synced 2024-07-26 23:29:27 +00:00
15 lines
184 B
Plaintext
15 lines
184 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# clean.sh
|
||
|
|
||
|
if [ -f $1.c ]; then
|
||
|
echo
|
||
|
echo "--- Cleaning $1 ---"
|
||
|
|
||
|
rm $1.s $1.o $1.map $1.bin $1.hex > /dev/null 2>&1
|
||
|
|
||
|
echo "--- Cleaned $1 ---"
|
||
|
|
||
|
fi
|
||
|
|