thingamajig/Makefile
2022-08-08 18:52:34 +03:00

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)