Mail Archives: djgpp/1996/01/16/08:46:00
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 -