Merge remote-tracking branch 'Lynx/master'

This commit is contained in:
EnderIce2
2024-11-20 05:02:27 +02:00
28 changed files with 7101 additions and 1 deletions

22
Lynx/BIOS/Makefile Normal file
View File

@ -0,0 +1,22 @@
include ../../Makefile.conf
NAME=loader.bin
NASM = /usr/bin/nasm
ASM_SOURCES = $(shell find ./ -type f -name '*.asm')
OBJ = $(ASM_SOURCES:.asm=.o)
prepare:
$(info Nothing to prepare)
$(NAME): $(OBJ)
cat boot.o second.o > $@
build: $(NAME)
%.o: %.asm
$(info Compiling $<)
$(NASM) $< -f bin -o $@
clean:
rm -f $(OBJ) $(NAME)