13. November 2024, 07:48
cd binary && make [target]oder was meinst du?
%.sys: $(ELFS) ld $(ELFS) -o $<
make /binarys/floppy.sys
BINARY = xxx #'Bin Path'SOURCE = xxx #'Src Path'ELFS= $(SRCS:%.nasm=$(BINARY)%.o) $(BINARY)%.sys: $(ELFS) $(LD) -o $@ $(ELFS)$(BINARY)%.o: $(SOURCE)%.nasm $(NASM) -felf -o $@ $<