diff --git a/Makefile b/Makefile index 4dca985..53a872b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ cat: cat.o ld -o cat cat.o cat.o: cat.s - nasm -g -f elf64 cat.s + nasm -f elf64 cat.s .PHONY: clean clean: diff --git a/cat.s b/cat.s index 5c345e6..74daf88 100644 --- a/cat.s +++ b/cat.s @@ -1,4 +1,3 @@ -;; -*- mode: nasm -*- %define SYS_open 0x2 %define SYS_close 0x3 %define SYS_write 0x1