Closed agentzh closed 6 years ago
One usage is this:
make SUBSYS=http DESTDIR=../lua-nginx-modue/src
make SUBSYS=stream DESTDIR=../stream-lua-nginx-modue/src
It is much more convenient for my workflow.
Oh, BTW, Makefile uses all-upper-case variable names for those variables which are supposed to be overridden from outside, while using all-lower-case names for variables for internal use only inside Makefile. You can refer to GNU make manual for more details on the naming convention. We'd better follow that.
Sorry, it's me using all-lower-case form in this issue. Never mind about the lettercase then :)
Right now,
make SUBSYS=xxx
always generate code intobuild/src/
, this is not desired. Better make it possible to specify aDESTDIR
variable.