From 24247e1ac6323999b38a721fa258b233dcfaf517 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 2 Dec 2016 00:16:56 -0500 Subject: Day 1 --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..df4adfd --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +BINS = day01 + +all: $(BINS) + +%: %.o + ld -o $@ $< + +%.o: %.asm sys.asm + nasm -f elf64 -o $@ $< + +clean: + rm -f $(BINS) + +.PHONY: clean -- cgit 1.4.1