astro: Makefile and utilities for data generation