1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh cc="$1" target="$2" out="$4" shift 4 ( for f in "$@"; do cat "$f" done ) | "$cc" --target="$target" -c -o "$out" -x assembler -