aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-07-26 15:47:04 +0200
committerAnton Khirnov <anton@khirnov.net>2020-07-26 15:47:04 +0200
commite6180b82d89d69846cfdd7881dd067ff38ea6a79 (patch)
treed1ddcaec13582fa1f8ef315045c8dea9b59f7e98 /Makefile
parent63c5de350e63a5b1fb9a25bee13c1f5533339a49 (diff)
Update x86inc.asm.
Also, switch from yasm to nasm.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6a682f1..457489d 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,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 *.pyc $(TARGET)