mirror of
https://github.com/Fennix-Project/Lynx.git
synced 2025-07-12 07:39:13 +00:00
Code stub
This commit is contained in:
22
BIOS/Makefile
Normal file
22
BIOS/Makefile
Normal 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)
|
Reference in New Issue
Block a user