summary refs log tree commit diff homepage
path: root/Makefile
blob: df4adfd2421fa580241a60b200a6227b97a9a93e (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
	nasm -f elf64 -o $@ $<

clean:
	rm -f $(BINS)

.PHONY: clean