JULIA=julia --procs 1 --optimize=3 --math-mode=fast --color=yes
#JULIA=julia --procs 1 --color=yes
PREFIX=ridging
SCRIPT=ridging_simulation.jl

default: \
	test

.PHONY: test
test: $(SCRIPT)
	$(JULIA) $< \
		--compressive_velocity=0.1 \
		"test"

.PHONY: many_floes
many_floes: $(SCRIPT)
	$(JULIA) $< \
    --compressive_velocity=0.05 \
    --nx1=100 \
    --ny1=5 \
    --tensile_strength=1e24 \
    --shear_strength=1e24 \
    --many_floes=true \
    "many_floes-seed1-nx1_100-ny1_5-cv_0.05"

.PHONY: many_floes_plastic
many_floes_plastic: $(SCRIPT)
	$(JULIA) $< \
    --compressive_velocity=0.05 \
    --nx1=100 \
    --ny1=5 \
    --many_floes=true \
    "many_floes_plastic-seed1-nx1_100-ny1_5-cv_0.05"
