summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: