dev/nasm/lnxhello/build.sh

10 lines
122 B
Bash

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