15 lines
139 B
Makefile
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)
|