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 f.c f.o f' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp1=tmp1.$$
 7
 8echo hello > f.c
 9
10$EXEC scc make -sf- <<'EOF' > $tmp1 2>&1
11
12.SUFFIXES:
13
14.c:
15	echo hello > $@
16
17all: f
18EOF
19
20diff $tmp1 - <<EOF
21make: error: don't know how to make f
22EOF