x86-64helloworld/Makefile

15 lines
139 B
Makefile
Raw Normal View History

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