From 0bb34ee61988af0d2f4da74e9e7cdb46bd31af88 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 4 Oct 2022 04:25:37 -0700 Subject: [PATCH] Remove comment and -g --- Makefile | 2 +- cat.s | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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