using a make file to create a json file