Remove comment and -g

This commit is contained in:
Alexander Rosenberg 2022-10-04 04:25:37 -07:00
parent f080ba36e8
commit 0bb34ee619
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@ cat: cat.o
ld -o cat cat.o ld -o cat cat.o
cat.o: cat.s cat.o: cat.s
nasm -g -f elf64 cat.s nasm -f elf64 cat.s
.PHONY: clean .PHONY: clean
clean: clean:

1
cat.s
View File

@ -1,4 +1,3 @@
;; -*- mode: nasm -*-
%define SYS_open 0x2 %define SYS_open 0x2
%define SYS_close 0x3 %define SYS_close 0x3
%define SYS_write 0x1 %define SYS_write 0x1