don't pass LDFLAGS when only performing compilation (-c)
don't pass LDFLAGS when only performing compilation (-c)

This simplifies the compiler commands and suppresses warnings.

flickr/caffe,pcoving/caffe,Hilovaiserillis/caffe,gogartom/caffe-textmaps,jieshen-sjtu/caffe-for-DDNet,hotpxl/caffe-m2,wangg12/caffe,hotpxl/caffe-m2,yikeliu/caffe-future,sichenucsd/caffe_si,gnina/gnina,pcoving/caffe,dylansun/caffe,sguada/caffe-public,audtlr24/caffe,CZCV/s-dilation-caffe,sguada/caffe-public,longjon/caffe,jieshen-sjtu/caffe-for-DDNet,shuimulinxi/caffe,audtlr24/caffe,pcoving/caffe,gogartom/caffe-textmaps,bharath272/sds_eccv2014,CZCV/s-dilation-caffe,vibhav-vineet/caffe,suixudongi8/caffe,dylansun/caffe,hotpxl/caffe-m2,shuimulinxi/caffe,Hilovaiserillis/caffe,sichenucsd/caffe_si,naeluh/caffe,yikeliu/caffe-future,flickr/caffe,orentadmor/caffe,gnina/gnina,CZCV/s-dilation-caffe,hotpxl/caffe-m2,xidianwlc/caffe,intelcaffe/caffe-old,vibhav-vineet/caffe,shiquanwang/caffe,shuimulinxi/caffe,vibhav-vineet/caffe,shiquanwang/caffe,pcoving/caffe,intelcaffe/caffe-old,audtlr24/caffe,wangg12/caffe,orentadmor/caffe,dculibrk/boosted_pooling,gnina/gnina,naeluh/caffe,jieshen-sjtu/caffe-for-DDNet,dylansun/caffe,tackgeun/caffe,nicodjimenez/caffe,gogartom/caffe-textmaps,minghuam/caffe,xidianwlc/caffe,flickr/caffe,tackgeun/caffe,longjon/caffe,longjon/caffe,gnina/gnina,dculibrk/boosted_pooling,MoskalenkoViktor/caffe,naeluh/caffe,naeluh/caffe,shiquanwang/caffe,minghuam/caffe,vibhav-vineet/caffe,dylansun/caffe,dculibrk/boosted_pooling,liuxianming/caffe_feedback,dculibrk/boosted_pooling,niuzhiheng/caffe,niuzhiheng/caffe,tackgeun/caffe,MoskalenkoViktor/caffe,suixudongi8/caffe,CZCV/s-dilation-caffe,niuzhiheng/caffe,liuxianming/caffe_feedback,wangg12/caffe,shiquanwang/caffe,minghuam/caffe,MoskalenkoViktor/caffe,intelcaffe/caffe-old,gnina/gnina,dculibrk/boosted_pooling,liuxianming/caffe_feedback,hotpxl/caffe-m2,xidianwlc/caffe,CVML/sds_eccv2014,Hilovaiserillis/caffe,liuxianming/caffe_feedback,niuzhiheng/caffe,nicodjimenez/caffe,gnina/gnina,orentadmor/caffe,sguada/caffe-public,sichenucsd/caffe_si,liuxianming/caffe_feedback,flickr/caffe,jieshen-sjtu/caffe-for-DDNet,naeluh/caffe,tackgeun/caffe,Hilovaiserillis/caffe,wangg12/caffe,yikeliu/caffe-future,pcoving/caffe,dylansun/caffe,minghuam/caffe,audtlr24/caffe,nicodjimenez/caffe,longjon/caffe,MoskalenkoViktor/caffe,intelcaffe/caffe-old,audtlr24/caffe,shuimulinxi/caffe,flickr/caffe,nicodjimenez/caffe,shuimulinxi/caffe,sguada/caffe-public,nicodjimenez/caffe,orentadmor/caffe,jieshen-sjtu/caffe-for-DDNet,sguada/caffe-public,suixudongi8/caffe,MoskalenkoViktor/caffe,Hilovaiserillis/caffe,gogartom/caffe-textmaps,suixudongi8/caffe,sichenucsd/caffe_si,yikeliu/caffe-future,niuzhiheng/caffe,xidianwlc/caffe