tests/make: Add 0080-rule test - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f16c4470d9ba0f48a934a1f0000cd311e49c85d8
 (DIR) parent b161f67e72e5a9c1ac36a2197b27291dadedccb1
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sun, 21 Jan 2024 00:06:38 +0100
       
       tests/make: Add 0080-rule test
       
       Diffstat:
         A tests/make/execute/0080-rule.sh     |      18 ++++++++++++++++++
       
       1 file changed, 18 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/tests/make/execute/0080-rule.sh b/tests/make/execute/0080-rule.sh
       @@ -0,0 +1,18 @@
       +#!/bin/sh
       +
       +trap 'rm -f $tmp f.c f.o f' EXIT INT QUIT TERM HUP
       +
       +tmp=tmp.$$
       +
       +echo hello > $tmp
       +
       +echo hello > f.c
       +
       +scc-make -sf- <<'EOF'
       +.c.o:
       +        cp $< $@
       +
       +all: f.o
       +EOF
       +
       +diff $tmp f.o