www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/18/07:06:40

From: Dan Vasaru <dvasaru AT lise DOT unit DOT no>
Date: Mon, 18 May 1992 12:49:51 +0200
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: NDMAKE
Status: O

Is there any way to convince NDMAKE to make a file by means  of another file that doesn't exist ? Something like :

.SUFFIXES : .obj .asm .c

.c.asm:
  $(cc) ...
.asm.obj:
  $(asm) ...

foo.exe : foo.obj
 link ...

Now, if there is a foo.asm , it will be assembled to .obj . If there's no foo.asm, but a foo.c, NDMAKE will not (implicitely) cc the .c to .asm and then .asm to .obj as I would like. Is there any smart way to accomplish this without 
explicitedly stating the dependencies ?

A more DJGPP related prblm. I tried to run compress and it died with error 4. Is there any list of this kind of errors ?

 Tnx, Dan

- Raw text -


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