0081-rule.sh - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
0081-rule.sh (143B)
---
1 #!/bin/sh
2
3 trap 'rm -f f.c f.o f' EXIT INT QUIT TERM HUP
4
5 echo hello > f.c
6
7 scc make -sf- <<'EOF'
8 .c:
9 echo hello > $@
10
11 all: f
12 EOF
13
14 diff f.c f