|
|
|
|
|
by rv77ax
3253 days ago
|
|
I use makefile as the library package dependency [1], maybe like what package.json was in node environment. The idea is if you want to use the library, you just include the makefile inside your project makefile, define a TARGET values and you will automatically have tasks for build, debug, etc. The key is a hack on .SECONDEXPANSION pragma of GNU make, which means it's only work in GNU/Linux environment. [1] https://GitHub.com/shuLhan/libvos Edit: ah, turn out I write some documentation about it here: http://kilabit.info/projects/libvos/doc/index.html |
|