extend the rules/c-objs macro to take the way as a parameter
authorDuncan Coutts <duncan@well-typed.com>
Tue, 28 Apr 2009 12:34:52 +0000 (12:34 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Tue, 28 Apr 2009 12:34:52 +0000 (12:34 +0000)
commitce14988222b8da2abc57c68a087a61efe5ba709b
tree0c7a95ff6a1585cb8938e70441633ccefdfa180b
parentde75026f5a48d3d052135a973ab4dff76c5b20f5
extend the rules/c-objs macro to take the way as a parameter
Previously we only built library package "cbits" the vanilla way, afterall
C code does not need to be built differently for profiling builds. However
for dynamic libs the C code needs to be built with -fPIC, so we do need
to be able to build package .c (and .s?) files multiple ways.
rules/build-package-way.mk
rules/build-package.mk
rules/build-prog.mk
rules/c-objs.mk