dev/nasm/lnxhello/build.sh

10 lines
122 B
Bash
Raw Normal View History

#!/bin/sh
target=lnxhello
rm -f $target
nasm -f elf ${target}.asm
gcc -o ${target} ${target}.c ${target}.o
./${target}