pl-sem/sem3/task-hex-make/makefile
2023-08-18 01:08:53 +03:00

14 lines
146 B
Makefile

ASM=nasm -f elf64
LD=ld
main: main.o lib.o
$(LD) -o $@ $^
main.o: main.asm lib.inc
$(ASM) -o $@ $<
%.o: %.asm
$(ASM) -o $@ $<
.PHONY: all