📜  程序集 makefile - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:51.931000             🧑  作者: Mango

代码示例1
//make file for an assembly language program with only one .asm file
make:
    nasm -m amd64 -f elf programName.asm
    ld -s -o programName programName.o
run:
    ./programName
clean:
    rm -f *.o programName