]> git.sesse.net Git - bcachefs-tools-debian/commit
Only run pkg-config once in Makefile, added EXTRA linker vars
authorTim Schlueter <schlueter.tim@linux.com>
Sun, 13 Jan 2019 23:01:12 +0000 (15:01 -0800)
committerTim Schlueter <schlueter.tim@linux.com>
Mon, 14 Jan 2019 03:31:04 +0000 (19:31 -0800)
commit079e6ab647649d03f9eb6feda33802b3d2fa8317
treeaf6c37980179a820ded5cbfd18f9799c515c2018
parentb199b91cb4dde5c63fe1935c0beaacb04797858b
Only run pkg-config once in Makefile, added EXTRA linker vars

* Only run the pkg-config --cflags command once (instead of every .c file)
* Added EXTRA_LDFLAGS and EXTRA_LDLIBS vars
* Removed tabs in the middle of commands to make it easier to manually re-run
  commands manually (e.g. if a compilation fails)
* Replaced `cd dir; git command` in favor of $(shell git -C dir command)
* Minor version format change: dirty trees just append "+" instead of "-dirty"
  and if git describe fails, it now sets the version to "v0.1-nogit"

Also, don't ignore .gitignore files.
.gitignore
Makefile