summary refs log tree commit diff homepage
path: root/Makefile
blob: 7f63807b5e9b151681fba4ddbaa41988e3275813 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BINS = day01

all: $(BINS)

%: %.o
	ld -o $@ $<

%.o: %.asm sys.asm lib.asm
	nasm -f elf64 -o $@ $<

clean:
	rm -f $(BINS)

.PHONY: clean