bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Phony Targets (documentation - small typo)


From: Edward Duffy
Subject: Phony Targets (documentation - small typo)
Date: 23 Sep 2002 07:47:05 -0500

An example for .PHONY targets (section 33), reads:

1: SUBDIRS = foo bar baz

2: .PHONY: subdirs $(SUBDIRS)

3: subdirs: $(SUBDIRS)

4: $(SUBDIRS):
5:         $(MAKE) -C $

6: foo: baz
URL: http://www.gnu.org/manual/make-3.79.1/html_mono/make.html#SEC33

This spit out the error:
  make -C 
  make: option requires an argument -- C
  Usage: make [options] [target] ...

But changing line 5 to "$(MAKE) -C $@" fixed it.

Regards,
  Edward Duffy






reply via email to

[Prev in Thread] Current Thread [Next in Thread]