asm-cat/Makefile

10 lines
102 B
Makefile

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