Mail Archives: djgpp/2000/08/01/06:27:35
Using -M did solve a large part of the makefile contruction problem.
Then I even downloaded autoconf and automake but make.exe does did like
my makefiles at all
A simple makefile like this:
all: snake.exe
snake.o: main.cpp cstring.h command.h utils.h
gcc -Wall -c main.cpp
snake.exe: snake.o
gcc -o snake.exe snake.exe -lz -lalleg -lini
and make.exe keeps on syaing
makefile:4: ***reuired seperater
I had copyied the text some other makefile. There it worked and here
just by changing filenames it is not. Even the sample in make.inf says
it will work.
Eli Zaretskii wrote:
>
> On Mon, 31 Jul 2000, Vikas Yadav wrote:
>
> > Is there a tool that can help in creating makefiles,
> > like calculating dependancies etc. other than RHIDE.
>
> Read about the GCC command-line option -MM. The node "Automatic
> Prerequisites" in the Make manual explains how to use it for automatic
> dependency computations.
--
/*
**http://www.programmingParadise.com
*/
#Vikas Yadav, India
//PGP key:http://www.programmingparadise.com/misc/vikas.pgp
'E-mail:vikas AT programmingparadise DOT com
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
- Raw text -