scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3set -e
 4
 5trap 'rm -f file.a' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8###########################################################################
 9#empty file list
10
11rm -f file.a
12if $EXEC scc ar -qv file.a badfile.a
13then
14	echo "ar -q failed to detect missed file" >&2
15	exit 1
16fi