labs/03 #3

Merged
mrqiz merged 10 commits from labs/03 into main 2024-10-02 20:13:05 +03:00
Showing only changes of commit daec968bcb - Show all commits

13
03-asm-bios/Makefile Normal file
View File

@ -0,0 +1,13 @@
ASM = nasm
ASM_FLAGS = -felf64 -g
LINK = ld
%: %.o
$(LINK) -o $@ $^
%.o: %.asm
$(ASM) $(ASM_FLAGS) $^ -o $@
clean:
rm -f *.o
rm -f $(subst .asm, $(empty), $(wildcard *.asm))