diff options
| author | Carlos Maiolino <[email protected]> | 2025-07-21 20:32:07 +0200 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-07-21 20:32:07 +0200 |
| commit | 192cc29e2288ec51084cb0b3572b358b50de2c95 (patch) | |
| tree | 518dd8683ccb7eee20e6fccf76189ad27e88147e /Makefile | |
| parent | 05a32c2b36552deff0c74a2aab8de07811eb92b1 (diff) | |
Fix boot.bin build
Previous patch TARGET variable definition got removed. I forgot
to update its users....
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ all: $(BIN_TGT) i686-elf-gcc $(FLAGS) -T ./src/linker.ld -o ./bin/kernel.bin -ffreestanding -O0 -nostdlib $(BUILD_DIR)/cemOS.o ./bin/boot.bin: $(BOOT_ASM) - nasm -f bin $(BOOT_ASM) -o $(TARGET) + nasm -f bin $(BOOT_ASM) -o $(BOOT_TGT) $(BUILD_DIR)/kernel.asm.o: ./src/kernel.asm nasm -f elf -g ./src/kernel.asm -o $(BUILD_DIR)/kernel.asm.o @@ -39,7 +39,7 @@ $(BUILD_DIR)/kernel.o: ./src/kernel.c i686-elf-gcc $(INCLUDES) $(FLAGS) -std=gnu99 -c ./src/kernel.c -o $(BUILD_DIR)/kernel.o clean: - rm -f $(TARGET) + rm -f $(BOOT_TGT) rm -f bin/kernel.bin rm -f build/cemOS.o rm -f build/kernel.asm.o |
