[gdb] clean up the makefiles a bit and use concurrency

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>