summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2015-10-12 22:10:51 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2015-10-12 22:10:51 -0400
commitf077bc7aa0f41a10b595307124e2051c2fbdfbf0 (patch)
tree495f95c66969e8ed59ebc0d712a46928bccc0042
parente0bea38f2a5b9a46c712b24ccb215735cdf09dff (diff)
Daily assembler.
-rw-r--r--asm-64/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/asm-64/Makefile b/asm-64/Makefile
index c208e6c..d4646e4 100644
--- a/asm-64/Makefile
+++ b/asm-64/Makefile
@@ -1,5 +1,9 @@
-all: hello
+all: hello printf
hello:
nasm -felf64 -o hello.o hello.asm
ld -o hello hello.o
+
+printf:
+ nasm -felf64 -o printf.o printf.asm
+ gcc -o printf printf.o