makefile to reduce the data