aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-07-26 16:02:20 +0200
committerAnton Khirnov <anton@khirnov.net>2020-07-26 16:02:20 +0200
commitf5feee8682d6aba8d558ec8afd806764c3b93cdd (patch)
treeffd6e39c741f88313595abe2c75df7af4e06b5eb /Makefile
parent21ae72de3d6658bba0f402fd95fd75fbe9bffeae (diff)
Update x86inc.asm.
Also, switch from nasm to yasm.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 60f499a..1bc9f12 100644
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,8 @@ $(TARGET): $(OBJS)
cc $(CFLAGS) -MMD -MF $(@:.o=.d) -MT $@ -c -o $@ $<
%.o: %.asm
- yasm -f elf -m amd64 -M $< > $(@:.o=.d)
- yasm -f elf -m amd64 -o $@ $<
+ nasm -f elf64 -M $< > $(@:.o=.d)
+ nasm -f elf64 -o $@ $<
clean:
-rm -f *.o *.d $(TARGET)