pl-sem/sem3/task-hex-make/makefile

15 lines
146 B
Makefile
Raw Permalink Normal View History

2023-08-17 22:08:53 +00:00
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