From 8ad6ef551e9a1c51a77f3662978c7559556897d6 Mon Sep 17 00:00:00 2001 From: Tyler Murphy <=> Date: Sun, 16 Jul 2023 19:56:56 -0400 Subject: time --- kernel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/Makefile') diff --git a/kernel/Makefile b/kernel/Makefile index 999498b..d4cbdf4 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -4,7 +4,7 @@ C_SRC = $(shell find src -type f -name "*.c") C_OBJ = $(patsubst %.c,bin/%.o, $(C_SRC)) ASM_SRC = $(shell find src -type f -name "*.asm") -ASM_OBJ = $(patsubst %.asm,bin/%.o, $(ASM_SRC)) +ASM_OBJ = $(patsubst %.asm,bin/%.asm.o, $(ASM_SRC)) CFLAGS += -Iinclude -Isrc -I../libk/include -std=gnu17 @@ -16,7 +16,7 @@ $(C_OBJ): bin/%.o : %.c @mkdir -p $(@D) $(CC) -c $(CFLAGS) -o $@ $< -$(ASM_OBJ): bin/%.o : %.asm +$(ASM_OBJ): bin/%.asm.o : %.asm @mkdir -p $(@D) $(AS) $< -f elf -o $@ -- cgit v1.2.3-freya