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' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6tmp=$$.tmp
 7
 8$EXEC scc make -f test2.mk MOREOBJS='a.o b.o' <<'EOF' > $tmp
 9
10diff -u - $tmp <<EOF
11MAKEFLAGS=MOREOBJS=a.o b.o
12MOREOBJS=a.o b.o
13OBJS= a.o b.o main.o
14MAKEFLAGS=MOREOBJS='a.o b.o'
15MAKEFLAGS=MOREOBJS=a.o b.o
16MOREOBJS=a.o b.o
17OBJS= a.o b.o main.o
18EOF