scc

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

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

 1#!/bin/sh
 2
 3set -e
 4
 5trap 'rm -f $tmp1' EXIT
 6trap 'exit $?' HUP INT TERM
 7
 8tmp1=tmp1.$$
 9
10$EXEC scc size -t z80.out z80.out>$tmp1
11
12diff $tmp1 - <<EOF
13text	data	bss	dec	hex	filename
145	3	3	11	b	z80.out
155	3	3	11	b	z80.out
1610	6	6	22	16	(TOTALS)
17EOF