[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
makefile question re .SUFFIXES
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: makefile question re .SUFFIXES
- From: Bengt Kleberg <bengt_(_at_)_softwell_(_dot_)_se>
- Date: Wed, 8 Sep 1999 16:50:39 +0200
given a makefile like the one below I can get
make afile.s to produce echo .s
however, if i remove the # i get the error message make: don't know how to make afile.s. Stop
why would making .s be impossible when .lo is a known suffix, without a rule?
this is a real question. i have a downloaded makefile that fails in a similar manner.
Best Wishes, Bengt
.SUFFIXES:
.SUFFIXES: .S .s
#.SUFFIXES: .S .s .lo
.S.lo:
.S.s:
echo .s
all: afile.s
Visit your host, monkey.org