SPGLIB_DIR  = spglib
SPGLIB_MAKE = ${SPGLIB_DIR}/Makefile

all check test tests out output outputs listdiff: ${SPGLIB_MAKE}

${SPGLIB_MAKE}:
	${MAKE} -C ${SPGLIB_DIR} ${notdir $@}

distclean: clean-autom4te.cache

clean-autom4te.cache:
	rm -rf ${SPGLIB_DIR}/autom4te.cache
