scc

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

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

 1#!/bin/sh
 2
 3export CFLAGS=World
 4
 5trap 'rm -f $tmp1' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8tmp1=tmp1.$$
 9
10$EXEC scc make -f - <<'EOF' > $tmp1 2>&1
11FLAGS=Hello $(CFLAGS)
12all:
13	@echo Hello $(CFLAGS)
14EOF
15
16diff $tmp1 - <<EOF
17Hello World
18EOF