delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/01/06:27:35

X-Apparently-From: <amitvikas AT yahoo DOT com>
Message-ID: <3986A433.FE74ABB2@yahoo.com>
Date: Tue, 01 Aug 2000 15:49:31 +0530
From: Vikas Yadav <amitvikas AT yahoo DOT com>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 1000731095049 DOT 2256M-100000 AT is>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019