Adding debugging flags to makefile

Really easy question:

How can I add the -g -G flags to a makefile, for example the template makefile, so that it compiles for debugging with cuda gdb when I use make?