scc

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

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

 1#!/bin/sh
 2
 3trap 'rm -f $tmp1 $tmp2 file1' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp1=tmp1.$$
 7tmp2=tmp2.$$
 8
 9touch $tmp2
10
11$EXEC scc make -stf test.mk file1 > $tmp1 2>&1
12
13diff $tmp1 $tmp2 && test -f file1