diff --git a/Makefile b/Makefile index 98d9125..f31fb5c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,16 @@ CC=sjasmplus CFLAGS= +OBJ=hello read_one_key -%: +DOCKER=docker + +default: docker + +all: $(OBJ) + +$(OBJ): $(CC) $@.asm --raw=$@.rom + +docker: + $(DOCKER) pull bensuperpc/sjasmplus:latest + $(DOCKER) run --rm -v "$(PWD)":/usr/src/myapp -w /usr/src/myapp bensuperpc/sjasmplus:latest make all \ No newline at end of file