Using makefiles.

This commit is contained in:
Nicolás A. Ortega 2016-05-30 04:03:41 +02:00
parent ea7fdb23b9
commit 9733faf62b
No known key found for this signature in database
GPG Key ID: 4825F773B8D44EFF
2 changed files with 15 additions and 0 deletions

15
Makefile Normal file
View 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)