asm-cat/Makefile

10 lines
105 B
Makefile

cat: cat.o
ld -o cat cat.o
cat.o: cat.s
nasm -g -f elf64 cat.s
.PHONY: clean
clean:
rm -f cat.o cat