COMPILER = nvcc CFLAGS = -I /home/cosc330/public_html/lectures/cuda-samples/Common/ EXES = m_stream MultiDevice stream all: ${EXES} m_stream: m_stream.cu ${COMPILER} ${CFLAGS} m_stream.cu -o m_stream MultiDevice: MultiDevice.cu ${COMPILER} ${CFLAGS} MultiDevice.cu -o MultiDevice stream: stream.cu ${COMPILER} ${CFLAGS} stream.cu -o stream %.o: %.c %.h makefile ${COMPILER} ${CFLAGS} $< -c clean: rm -f *.o *~ ${EXES} ${CFILES}