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!!
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