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- <<'EOF' > $tmp1 2>&1
 9VAR1 = one
10VAR = $(VAR1)
11VAR1 = print
12
13all: $(VAR)
14
15print:
16	@echo Hello World!
17VAR1 = two
18
19EOF
20
21diff $tmp1 - <<EOF
22Hello World!
23EOF