Revert part of "Add --cuda option for using the CUDA backend"

This reverts the part of commit 1b9add9524df0b42de247b10bb424db3535fa8fa
related to the test.sh script.
Add makefile for building examples for CUDA