.PHONY: all clean

FAR = fences_as_relations

COPYLIST = exec_arm8 exec_C exec_OCaml exec_OpenCL exec relations

all:
	@ echo "Adapting architectures for 'fences as relations' mode."
	@ for f in $(COPYLIST); do \
	  cp $$f.als $(FAR); \
	  python ../etc/mark_autogenerated.py $(FAR)/$$f.als; \
	done

clean:
	cd $(FAR) && python ../../etc/rm_als.py
