power/Makefile

16 lines
150 B
Makefile
Raw Permalink Normal View History

2016-06-05 14:44:32 +00:00
AS=as
LINKER=ld
OBJ=src/power.o
%.o: %.asm
$(AS) -g -o $@ $<
power: $(OBJ)
mkdir -p bin
$(LINKER) -o bin/$@ $^
.PHONY: clean
clean:
rm $(OBJ)