Some improvements to Makefile:
1) CC -> CXX + CFLAGS -> CXXFLAGS (most distros presets CC as gcc and CXX as g++, And cpp code doesn build with C compiler).
2) possibility to redefine some variables through build environment
3) possibility to define pkgconfig implementation (some distros already dropped ald and dead pkg-config and moved to pkgconf instead.
Thanks, @msva I hope you are enjoying the project, despite its large time without any update. I will accept this MR, it looks like a good improvement for the Makefile.
Some improvements to
Makefile
: 1)CC
->CXX
+CFLAGS
->CXXFLAGS
(most distros presetsCC
asgcc
andCXX
asg++
, And cpp code doesn build with C compiler). 2) possibility to redefine some variables through build environment 3) possibility to definepkgconfig
implementation (some distros already dropped ald and deadpkg-config
and moved topkgconf
instead.