23. November 2024, 00:22
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 $@ $<