Merge pull request #1003 from heuripedes/master

(griffin.c) Fix glx_ctx.c include
gfx_common: Make gfx_init_dwm a boolean function

Also fixes a bug where inited would be set to true, even if initialization had failed. I don't think it really matters in this case, however if this changes and is called twice for some reason in the future, it won't falsely assume it's already initialized.
Reduce LOC in Makefiles by creating shared Makefile.common
Move more to Makefile.common
Merge pull request #1004 from lioncash/bool

gfx_common: Make gfx_init_dwm a boolean function
- Change JOBJ in Makefile.win to JOYCONFIG_OBJ - make it the same
as Makefile.
- Use JTARGET in Makefile
Makefile.win - change JLIBS to JOYCONFIG_LIBS
Move menu files to Makefile.common
Move LDFLAGS to top of Makefiles
Move more to Makefile.common
Move more to Makefile.common
retroarch_logger: Append the calling function name to the log message.

Makes tracing back a little easier.
Move more to Makefile.common
Merge pull request #1006 from lioncash/logfunc

retroarch_logger: Append the calling function name to the log message.
Move more to Makefile.common
retroarch_logger: Fix linux build
Merge pull request #1007 from lioncash/logfunc

retroarch_logger: Fix linux build
Move more to Makefile.common
Move more to Makefile.common
Move more to Makefile.common