21 lines
224 B
Makefile
21 lines
224 B
Makefile
C8ASM ?= c8asm
|
|
BIN = mato8.ch8
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .ch8 .asm
|
|
|
|
.PHONY: All clean distclean test
|
|
|
|
all: $(BIN)
|
|
|
|
.asm.ch8:
|
|
$(C8ASM) -o $@ $<
|
|
|
|
clean:
|
|
rm -f $(BIN)
|
|
|
|
distclean: clean
|
|
|
|
test: $(BIN)
|
|
sipsi-8.py $< 900
|
|
chip8 $<
|