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 $tmp f.c f.o f' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp=tmp.$$
 7
 8echo hello > $tmp
 9
10echo hello > f.c
11
12$EXEC scc make -sf- <<'EOF'
13.c.o:
14	cp $< $@
15
16all: f.o
17EOF
18
19diff $tmp f.o