summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-01-19 23:46:04 +1100
committerkitty <nepeta@canaglie.net>2026-01-19 23:46:04 +1100
commit25a539fec12ffb53d31259cee2a649cd457111a0 (patch)
tree614a6ec30d1c0c78c053323d30cf14c9bad4c7b7 /Makefile
parentb4e0e8e76d07c3ae5a58d89d78f3ce023670fb26 (diff)
build test, x86 → x86_64 (changed my mind)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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: