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
 8$EXEC scc make -f- all <<'EOF' > $tmp1 2>&1
 9VAR2 = one
10VAR = $(VAR2)
11VAR2 = three
12
13all:
14	@echo Hello $(VAR)!
15
16VAR2 = World
17EOF
18
19diff $tmp1 - <<EOF
20Hello World!
21EOF