diff --git a/Makefile b/Makefile index daf4093..bee381d 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,13 @@ AS=as LINKER=ld -OBJ=src/MaxValue.o +OBJ=src/maxvalue.o %.o: %.asm $(AS) -o $@ $< maxvalue: $(OBJ) - $(LINKER) -o $@ $^ + mkdir -p bin + $(LINKER) -o bin/$@ $^ .PHONY: clean diff --git a/src/MaxValue.asm b/src/maxvalue.asm similarity index 100% rename from src/MaxValue.asm rename to src/maxvalue.asm