Fixed Makefile for read/write example