x86-64helloworld/Makefile
2016-06-03 02:16:13 +02:00

15 lines
139 B
Makefile

AS=as
LINKER=ld
OBJ=src/HelloWorld.o
%.o: %.asm
$(AS) -o $@ $<
helloworld: $(OBJ)
$(LINKER) -o $@ $^
.PHONY: clean
clean:
rm $(OBJ)