mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
Build: update various build installation directories
Modernize and improve the handling of build directories. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
534edcba04
commit
7415a1e5f8
8 changed files with 82 additions and 31 deletions
|
|
@ -10,7 +10,9 @@
|
|||
tmp="$(mktemp -d)"
|
||||
[ -n "$tmp" ] || exit 1
|
||||
|
||||
NASM="${NASM:-../nasm}"
|
||||
if [ -n "$1" ]; then
|
||||
NASM="$1"
|
||||
fi
|
||||
|
||||
: > "$tmp/junk.asm"
|
||||
"$NASM" -f bin -o "$tmp/junk.bin" -Lsb -l "$tmp/junk.lst" "$tmp/junk.asm"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue