18 lines
235 B
Makefile
18 lines
235 B
Makefile
BIN=calculator.bin
|
|
.SUFFIXES:
|
|
.SUFFIXES: .asm .bin
|
|
|
|
.PHONY: all
|
|
all: $(BIN)
|
|
|
|
.asm.bin:
|
|
thingamajig_assembler $@ < $<
|
|
|
|
.PHONY: clean distclean
|
|
clean:
|
|
rm -f $(BIN)
|
|
distclean: clean
|
|
|
|
.PHONY: run
|
|
run: $(BIN)
|
|
thingamajig_emulator $(BIN)
|