I\'m a very new to makefiles and i want to create directories using makefile. My project directory is like this
+--Project
+--output
+--source
given that you're a newbie, I'd say don't try to do this yet. it's definitely possible, but will needlessly complicate your Makefile. stick to the simple ways until you're more comfortable with make.
that said, one way to build in a directory different from the source directory is VPATH; i prefer pattern rules