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 $?' INT TERM HUP
 5
 6tmp1=tmp1.$$
 7
 8$EXEC scc make -f - <<'EOF' > $tmp1 2>&1
 9FLAGS=Hello $(EFLAGS)
10all: $(DIRS)
11	@echo Hello World
12
13$(DIRS): FORCE
14	@echo Bye
15
16FORCE:
17EOF
18
19diff $tmp1  - <<EOF
20make: error: <stdin>:5: missing target
21EOF