moai / luamongo

Lua driver for mongodb
https://github.com/moai/luamongo
MIT License
170 stars 58 forks source link

Makefile improvements #51

Closed msva closed 3 years ago

msva commented 3 years ago

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.

pakozm commented 3 years ago

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.