view portasm/gen-masm.sh @ 344:d60728b1f4a1

- tweaked html doc generation again so that it'll pick up dyncall.org's css file correctly (all in all not clean, see comment in source)
author Tassilo Philipp
date Tue, 07 Jan 2020 11:34:31 +0100
parents ab2d78e48ca2
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