Using makefiles.
This commit is contained in:
parent
ea7fdb23b9
commit
9733faf62b
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
AS=as
|
||||
LINKER=ld
|
||||
OBJ=src/MaxValue.o
|
||||
|
||||
%.o: %.asm
|
||||
$(AS) -o $@ $<
|
||||
|
||||
maxvalue: $(OBJ)
|
||||
mkdir bin/
|
||||
$(LINKER) -o bin/$@ $^
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
rm $(OBJ)
|
Loading…
Reference in New Issue
Block a user