Sorry, browser went funny ?
As I was saying, if you have a file called prog.c you can type
make prog
make has its own build in rules and will know how to create prog from prog.c
A simple makefile consists of targets and dependencies with associated commands, in general: -
target: dependency
<tab>command
I can't tell from your posting what whitespace you have in your makefile, this is important as the dependency line must NOT begin with a tab, the command line MUST begin with a tab.
I think there may be a couple of problems with your makefile, here's one that I believe will do what you want: -
ProcessA:
@echo "ProcessA"
touch proc1
ProcessB:
@echo "ProcessB"
touch proc2
ProcessC:
@echo "ProcessC"
touch proc3
You'll notice there are no dependencies, in fact there are NULL dependencies, this means the target is always rebuilt
you can now use
make ProcessA
make ProcessB
make ProcessC
however if you use make on its own it will only build the first dependency. This can be modified to build everything and can include more advanced techniques to selectively build different sources.
Let me know if you want more info, if so tell me what sources you are building with a little more detail, ie C/C++ files, related headers, etc.
Hope it helps.