Hi,
I want to make my own Makefile, but I don't know what to do first.
I have 3 file :
xxxx.h
xxxx.c
mxxxx.c
I want to compile xxxx.c, then use xxxx.o with mxxxx.c :
gcc -o xxxx mxxxx.c xxxx.o
Please help me!!
This is a discussion on Makefile within the Linux Programming forums, part of the Platform Specific Boards category; Hi, I want to make my own Makefile, but I don't know what to do first. I have 3 file ...
Hi,
I want to make my own Makefile, but I don't know what to do first.
I have 3 file :
xxxx.h
xxxx.c
mxxxx.c
I want to compile xxxx.c, then use xxxx.o with mxxxx.c :
gcc -o xxxx mxxxx.c xxxx.o
Please help me!!
make file goes something like
________________________
outputfile : dependent files <enter>
<tab> the commands
_______________________
cheers