summaryrefslogtreecommitdiff
path: root/asm-64/Makefile
blob: d4646e42732503f0767228fdf5f76861ef03c7f9 (plain)
1
2
3
4
5
6
7
8
9
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