summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 4cd411d..5436c87 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -4,6 +4,9 @@
%.bin: %.asm
nasm -f bin $*.asm -o $@
+
+%.o: %.s
+ i686-elf-as $*.s -o $@
%.o: %.c
$(CC) -c $(CFLAGS) $*.c -o $*.o