1234567891011121314151617181920 |
- COMMANDS = all install clean
- DOCKER = docker
- DOCKER_FLAGS = -v $$(pwd):/repo:ro -e "block_size=$(BLOCK_SIZE)" --rm
- BLOCK_SIZE = 4096
- IMAGE_NAME = fuse-mfs
- .PHONY: $(COMMANDS) test
- $(COMMANDS):
- $(MAKE) -C src $@
- $(MAKE) -C mkfs $@
- $(MAKE) -C fsck $@
- install: all
- test:
- $(DOCKER) build -t $(IMAGE_NAME) test/docker
- $(DOCKER) run --privileged $(DOCKER_FLAGS) $(IMAGE_NAME)
|