www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/03/14:07:36

Xref: news2.mv.net comp.os.msdos.djgpp:2406
From: Kenneth Targosky <kjt AT nando DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: GNU MAKE NOT WORKING WITH GCC
Date: Wed, 03 Apr 1996 11:56:08 +0000
Organization: Nando.net Public Access
Lines: 18
Message-ID: <31626758.41EE@nando.net>
NNTP-Posting-Host: grail1611.nando.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just installed djgpp V.2, gnu for dos.  I also loaded the other gnu
tools including make.  When I enter the command gcc -I..\h -c calls.c
the complilation works fine.  When the same command is entered 
via a makefile it does not work.  Make echos the identical command as 
the one entered on the command line but complains, gcc may be doing 
the complaining, that the include files can not be found.

Any help with this problem would be appreciated.

Since I am writing I have another question.  In other versions of make 
a for loop is supported.  I try the same loop with gnu and it does not 
work.  Is there any looping capabilties in GMAKE.  An example loop 
follows:

all:
				for dir in $(DIR);{cd $$dir; make all; cd ..}
lib:
				for dir in $(DIR);{cd $$dir; make lib; cd ..}

- Raw text -


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