Using a bin/ directory.
This commit is contained in:
parent
33fadf345c
commit
e093a762da
5
Makefile
5
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user