delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/16/08:46:00

From: kagel AT quasar DOT bloomberg DOT com
Date: Tue, 16 Jan 1996 08:22:27 -0500
To: fortin44 AT eelab DOT newpaltz DOT edu
Cc: djgpp AT delorie DOT com
Subject: Re: Make error...Help
Reply-To: kagel AT quasar DOT bloomberg DOT com

   From: John Fortin <fortin44 AT eelab DOT newpaltz DOT edu>
   Date: Mon, 15 Jan 1996 02:08:46 -0800

   When I try to make the attached makefile I get the following error

   makefile.dj:13: ***Target pattern contains no '%'. Stop

   Anyone know why???

   I checked the tabs, they are tabs, and other things like putting the 
   complete path in.

   I can compile and run by hand, but not with make.

....

Line 13:
   enumw_dj.exe: $(DJGPP)\rsxwdk\rsxw32.exe
                         ^      ^

If you are using GNU Make avoid backslashes in rules.  Make this rule:

   enumw_dj.exe: $(DJGPP)/rsxwdk/rsxw32.exe

If this still gives you trouble you might try using VPATH or vpath to 
eliminate the disk specification (d:) in $(DJGPP).  GNU Make sometime has 
trouble with these in rules also.

-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


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