2021-06-01 14:25:25 +02:00
|
|
|
CC=sjasmplus
|
|
|
|
CFLAGS=
|
2021-06-03 17:43:30 +02:00
|
|
|
OBJ=hello read_one_key
|
2021-06-01 14:25:25 +02:00
|
|
|
|
2021-06-03 17:43:30 +02:00
|
|
|
DOCKER=docker
|
|
|
|
|
|
|
|
default: docker
|
|
|
|
|
|
|
|
all: $(OBJ)
|
|
|
|
|
|
|
|
$(OBJ):
|
2021-06-01 14:25:25 +02:00
|
|
|
$(CC) $@.asm --raw=$@.rom
|
2021-06-03 17:43:30 +02:00
|
|
|
|
|
|
|
docker:
|
|
|
|
$(DOCKER) pull bensuperpc/sjasmplus:latest
|
|
|
|
$(DOCKER) run --rm -v "$(PWD)":/usr/src/myapp -w /usr/src/myapp bensuperpc/sjasmplus:latest make all
|