Why not add Make targets like
Code:
module: ...
module-debug: ...
Then you can simply type
Make commands can accept multiple targets, so your examples would simply make the "debug"
and "module" targets one after the other. You could overwrite that behaviour (eg through an "alias" or
a custom script), but the above solution is probably easier.
Another option would be to use a compiler / make flag.
Please use CODE tags for easier reading.