Hi all,
I have a 'C' program called
I want to create a makefile for this program in UNIX environment. Can someone please guide me?
Thanks
Last edited on
When I type
$childCommand: childCommand.o |
and hit enter it sayd
Whats that im missing?
Last edited on
If you have created a makefile named Makefile you should only have to type make and press enter.
Last edited on
@Peter :Today only im learning about makefile. The link you have given is for advanced people like you.
These are the things I have done
1. I created a text file named "makefile"
2. Entered the following in it
childProcess.o: childProcess.c
gcc -c childProcess.c
clean:
rm *.o
|
3. Then in the terminal window I typed
and hit enter
After that,it displayed
in the terminal
Is that correct?
Last edited on
You are missing the executable
Thanks
and
all for your great help. Now im cleared
Last edited on