X-Apparently-From: Message-ID: <3986A433.FE74ABB2@yahoo.com> Date: Tue, 01 Aug 2000 15:49:31 +0530 From: Vikas Yadav Organization: programmingParadise X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Makefiles References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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