test-msx/Makefile

15 lines
303 B
Makefile
Raw Permalink Normal View History

2021-06-01 14:25:25 +02:00
CC=sjasmplus
DOCKER=docker
CFLAGS=
SRCS = $(wildcard *.asm)
OBJ = $(patsubst %.asm,%,$(SRCS))
all: $(OBJ)
$(OBJ):
2021-06-01 14:25:25 +02:00
$(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