x86-64helloworld/Makefile

15 lines
139 B
Makefile
Raw Normal View History

2016-06-03 00:16:13 +00:00
AS=as
LINKER=ld
OBJ=src/HelloWorld.o
%.o: %.asm
$(AS) -o $@ $<
helloworld: $(OBJ)
$(LINKER) -o $@ $^
.PHONY: clean
clean:
rm $(OBJ)