PDA

View Full Version : Makefile



M-21
02-13-2002, 02:34 AM
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!!

Unregistered
02-13-2002, 06:55 AM
make file goes something like
________________________


outputfile : dependent files <enter>
<tab> the commands


_______________________
cheers