summaryrefslogtreecommitdiff
path: root/asm-64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'asm-64/Makefile')
-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