Skip to content

Commit

Permalink
build: consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 16, 2024
1 parent 5a54a92 commit 050f1bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ bootsec.bin: src/bootsect/bootsec.asm
@$(CC) $(CCFLAGS) -o $@ $<

lxboot.core: $(OBJ) src/core/stub.asm
@echo "\x1B[0;1;32m as \x1B[0m src/core/stub.asm"
@echo "\x1B[0;1;36m as \x1B[0m src/core/stub.asm"
@nasm -f elf src/core/stub.asm -o src/core/stub.o
@echo "\x1B[0;1;93m ld \x1B[0m lxboot.core"
@$(LD) $(LDFLAGS) src/core/stub.o $(OBJ) -o lxboot.core

lxboot.bin: src/*.asm lxboot.core
@echo "\x1B[0;1;32m as \x1B[0m src/main.asm"
@echo "\x1B[0;1;36m as \x1B[0m src/main.asm"
@nasm -f bin src/main.asm -o lxboot.bin

clean:
Expand Down

0 comments on commit 050f1bd

Please sign in to comment.