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' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp1=tmp1.$$
 7
 8MAKEFLAGS=-S \
 9$EXEC scc make -kf test.mk print-makeflags follow 2>&1 |
10sed 's/:.*: *no-/: no-/' > $tmp1
11
12diff $tmp1 - <<EOF
13-S -k
14no-valid-program
15sh: no-valid-program: not found
16make: warning: target error: error 32512
17Hello World!
18make: warning: target follow not remade because of errors
19EOF