Mercurial > pub > dyncall > dyncall
view portasm/gen-masm.sh @ 341:ab2d78e48ca2
- gen-masm
. fallback on clang if gcc not available
. consolidated use of redundant scripts
. regen of portasm based masm files
- minor symbol name changes for clarity/consistency
author | Tassilo Philipp |
---|---|
date | Sat, 04 Jan 2020 23:00:02 +0100 |
parents | 3e629dc19168 |
children |
line wrap: on
line source
#!/bin/sh `which gcc || which clang` -E -P -DGEN_MASM ${1:?Usage: $0 <name> [<outsuffix>]}.S \ | sed "/^$/d;1i\\ ; auto-generated by `basename $0` ;s/$/ /" \ > $1$2.asm