tests/make: Add 0081-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 a4bb92d0a14f388346191cded3f8b01566d653a8
 (DIR) parent f16c4470d9ba0f48a934a1f0000cd311e49c85d8
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Sun, 21 Jan 2024 00:07:54 +0100
       
       tests/make: Add 0081-rule test
       
       Diffstat:
         A tests/make/execute/0081-rule.sh     |      14 ++++++++++++++
       
       1 file changed, 14 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/tests/make/execute/0081-rule.sh b/tests/make/execute/0081-rule.sh
       @@ -0,0 +1,14 @@
       +#!/bin/sh
       +
       +trap 'rm -f f.c f.o f' EXIT INT QUIT TERM HUP
       +
       +echo hello > f.c
       +
       +scc-make -sf- <<'EOF'
       +.c:
       +        echo hello > $@
       +
       +all: f
       +EOF
       +
       +diff f.c f