From 25a539fec12ffb53d31259cee2a649cd457111a0 Mon Sep 17 00:00:00 2001 From: kitty Date: Mon, 19 Jan 2026 23:46:04 +1100 Subject: =?UTF-8?q?build=20test,=20x86=20=E2=86=92=20x86=5F64=20(changed?= =?UTF-8?q?=20my=20mind)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 61e58c0..ff03bbf 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ TARGET := jefs SRCS = $(TARGET).s $(TARGET): $(TARGET).o - ld -static -m elf_i386 -o $@ $< + ld -static -o $@ $< -$(TARGET): $(SRCS) - nasm -g -F dwarf -O0 -f elf32 -o $@ $< +$(TARGET).o: $(SRCS) + nasm -g -F dwarf -O0 -f elf64 -o $@ $< .PHONY: clean clean: -- cgit v1.2.3